mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-22 12:09:30 +01:00
Handle incoming document captions from whatsapp (#1935)
This commit is contained in:
parent
0a6d64ab48
commit
91353d0a4d
@ -335,7 +335,7 @@ func (b *Bwhatsapp) handleDocumentMessage(msg *events.Message) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Move file to bridge storage
|
// Move file to bridge storage
|
||||||
helper.HandleDownloadData(b.Log, &rmsg, filename, "document", "", &data, b.General)
|
helper.HandleDownloadData(b.Log, &rmsg, filename, imsg.GetCaption(), "", &data, b.General)
|
||||||
|
|
||||||
b.Log.Debugf("<= Sending message from %s on %s to gateway", senderJID, b.Account)
|
b.Log.Debugf("<= Sending message from %s on %s to gateway", senderJID, b.Account)
|
||||||
b.Log.Debugf("<= Message is %#v", rmsg)
|
b.Log.Debugf("<= Message is %#v", rmsg)
|
||||||
|
Loading…
Reference in New Issue
Block a user