diff options
Diffstat (limited to 'bridge/whatsappmulti')
-rw-r--r-- | bridge/whatsappmulti/handlers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bridge/whatsappmulti/handlers.go b/bridge/whatsappmulti/handlers.go index c6b96a5e..379699d9 100644 --- a/bridge/whatsappmulti/handlers.go +++ b/bridge/whatsappmulti/handlers.go @@ -335,7 +335,7 @@ func (b *Bwhatsapp) handleDocumentMessage(msg *events.Message) { } // 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("<= Message is %#v", rmsg) |