summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp/whatsapp.go
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/whatsapp/whatsapp.go')
-rw-r--r--bridge/whatsapp/whatsapp.go9
1 files changed, 2 insertions, 7 deletions
diff --git a/bridge/whatsapp/whatsapp.go b/bridge/whatsapp/whatsapp.go
index 7ee4045f..7e79ecaf 100644
--- a/bridge/whatsapp/whatsapp.go
+++ b/bridge/whatsapp/whatsapp.go
@@ -324,14 +324,9 @@ func (b *Bwhatsapp) Send(msg config.Message) (string, error) {
message.Conversation = &text
- /*
- message.ExtendedTextMessage = &proto.ExtendedTextMessage{
- Text: &text,
- }
- */
-
ID := whatsmeow.GenerateMessageID()
- b.Log.Debugf("=> Sending %#v to %#v with ID %s", message, groupJID, ID)
+
+ b.Log.Debugf("=> Sending %#v", message)
_, err := b.wc.SendMessage(groupJID, ID, &message)