summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/whatsapp')
-rw-r--r--bridge/whatsapp/whatsapp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go
index eb3f0d1c..3b97eb25 100644
--- a/bridge/whatsapp/whatsapp.go
+++ b/bridge/whatsapp/whatsapp.go
@@ -287,7 +287,7 @@ func (b *Bwhatsapp) Send(msg config.Message) (string, error) {
}
text.Info.Id = strings.ToUpper(hex.EncodeToString(bytes))
- err := b.conn.Send(text)
+ _, err := b.conn.Send(text)
return text.Info.Id, err
}