summaryrefslogtreecommitdiffstats
path: root/bridge/whatsapp/handlers.go
diff options
context:
space:
mode:
authorWim <wim@42.be>2022-02-04 00:33:50 +0100
committerWim <wim@42.be>2022-03-20 14:57:48 +0100
commit1b9877fda45be021ea6a5677c78648cecc19dcd5 (patch)
treebdbf82d503229c38f415833b6daf5fc8a359b1d3 /bridge/whatsapp/handlers.go
parent0205a67309ab681a1b0cabe96d5b231f7df8d64e (diff)
downloadmatterbridge-msglm-1b9877fda45be021ea6a5677c78648cecc19dcd5.tar.gz
matterbridge-msglm-1b9877fda45be021ea6a5677c78648cecc19dcd5.tar.bz2
matterbridge-msglm-1b9877fda45be021ea6a5677c78648cecc19dcd5.zip
Fetch avatars synchronous (whatsapp)
Diffstat (limited to 'bridge/whatsapp/handlers.go')
-rw-r--r--bridge/whatsapp/handlers.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/bridge/whatsapp/handlers.go b/bridge/whatsapp/handlers.go
index f0512a74..ff905b04 100644
--- a/bridge/whatsapp/handlers.go
+++ b/bridge/whatsapp/handlers.go
@@ -28,6 +28,8 @@ func (b *Bwhatsapp) handleMessage(message *events.Message) {
return
}
+ b.Log.Infof("Receiving message %#v", msg)
+
switch {
case msg.Conversation != nil || msg.ExtendedTextMessage != nil:
b.handleTextMessage(message.Info, msg)