Merge branch 'master' into enh/noid/nctalk-files-send

This commit is contained in:
Gary Kim
2021-05-27 00:06:35 -04:00
committed by GitHub
8 changed files with 2 additions and 2 deletions

View File

@@ -359,9 +359,9 @@ func (b *Bwhatsapp) HandleDocumentMessage(message whatsapp.DocumentMessage) {
return
}
filename := fmt.Sprintf("%v%v", message.Info.Id, fileExt[0])
filename := fmt.Sprintf("%v", message.FileName)
b.Log.Debugf("Trying to download %s with type %s", filename, message.Type)
b.Log.Debugf("Trying to download %s with extension %s and type %s", filename, fileExt, message.Type)
data, err := message.Download()
if err != nil {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 270 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 170 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 62 KiB