diff options
Diffstat (limited to 'bridge/whatsapp/helpers.go')
-rw-r--r-- | bridge/whatsapp/helpers.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bridge/whatsapp/helpers.go b/bridge/whatsapp/helpers.go index e424387d..9d39d368 100644 --- a/bridge/whatsapp/helpers.go +++ b/bridge/whatsapp/helpers.go @@ -111,8 +111,7 @@ func (b *Bwhatsapp) getSenderName(senderJid string) string { } // try to reload this contact - _, err := b.conn.Contacts() - if err != nil { + if _, err := b.conn.Contacts(); err != nil { b.Log.Errorf("error on update of contacts: %v", err) } |