1
0
mirror of synced 2024-11-22 04:46:05 +03:00

fix failed build

This commit is contained in:
Ayomide Onigbinde 2019-01-03 17:48:36 +01:00
parent 2543a5afbb
commit 830f72e96e

View File

@ -59,7 +59,7 @@ func main() {
client.HandleMessage(func(m messenger.Message, r *messenger.Response) { client.HandleMessage(func(m messenger.Message, r *messenger.Response) {
log.Printf("%v (Sent, %v)\n", m.Text, m.Time.Format(time.UnixDate)) log.Printf("%v (Sent, %v)\n", m.Text, m.Time.Format(time.UnixDate))
p, err := client.ProfileByID(m.Sender.ID) p, err := client.ProfileByID(m.Sender.ID, profileField)
if err != nil { if err != nil {
log.Println("Failed to fetch user profile:", err) log.Println("Failed to fetch user profile:", err)
} }