From a2baf3ff7062325e0a741b7fadfe6772492f126f Mon Sep 17 00:00:00 2001 From: Krzysztof Madejski Date: Thu, 14 Feb 2019 13:50:36 +0100 Subject: [PATCH] #475 fix --- bridge/whatsapp/whatsapp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go index 6705937c..9096e3a9 100644 --- a/bridge/whatsapp/whatsapp.go +++ b/bridge/whatsapp/whatsapp.go @@ -221,10 +221,10 @@ func (b *Bwhatsapp) JoinChannel(channel config.ChannelInfo) error { //}) for id, contact := range b.conn.Store.Contacts { if isGroupJid(id) { - b.Log.Info("%s %s", contact.Jid, contact.Name) + b.Log.Infof("%s %s", contact.Jid, contact.Name) } } - return fmt.Errorf("please specify group's JID from the below list instead of the name '%s'", channel.Name) + return fmt.Errorf("please specify group's JID from the list above instead of the name '%s'", channel.Name) case 1: return fmt.Errorf("group name might change. Please configure gateway with channel=\"%v\" instead of channel=\"%v\"", jids[0], channel.Name)