Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

commit d8650d0ada04e6cb2e318e56ae4b6a863d1d0c26 Author: ilmaisin <iiro.laiho@iki.fi> Date: Fri Mar 10 23:30:48 2023 +0000 Fix Android media download problem (whatsapp) (#2010) diff --git a/bridge/whatsappmulti/whatsapp.go b/bridge/whatsappmulti/whatsapp.go index e943fc8..99e5644 100644 --- a/bridge/whatsappmulti/whatsapp.go +++ b/bridge/whatsappmulti/whatsapp.go @@ -2436 +2437 @@ func (b *Bwhatsapp) PostDocumentMessage(msg config.Message, filetype string) (st   FileSha256: resp.FileSHA256,   FileLength: goproto.Uint64(resp.FileLength),   Url: &resp.URL, + DirectPath: &resp.DirectPath,   ContextInfo: ctx,   }   @@ -2806 +2817 @@ func (b *Bwhatsapp) PostImageMessage(msg config.Message, filetype string) (strin   FileSha256: resp.FileSHA256,   FileLength: goproto.Uint64(resp.FileLength),   Url: &resp.URL, + DirectPath: &resp.DirectPath,   ContextInfo: ctx,   }   @@ -3136 +3157 @@ func (b *Bwhatsapp) PostVideoMessage(msg config.Message, filetype string) (strin   FileSha256: resp.FileSHA256,   FileLength: goproto.Uint64(resp.FileLength),   Url: &resp.URL, + DirectPath: &resp.DirectPath,   ContextInfo: ctx,   }   @@ -3456 +3487 @@ func (b *Bwhatsapp) PostAudioMessage(msg config.Message, filetype string) (strin   FileSha256: resp.FileSHA256,   FileLength: goproto.Uint64(resp.FileLength),   Url: &resp.URL, + DirectPath: &resp.DirectPath,   ContextInfo: ctx,   }