Thumbnail

rani/matterbridge.git

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

commit 389a234c9080a0cbfc6e037c4b5e3baa6e5de0c7 Author: Wohlstand <admin@wohlnet.ru> Date: Fri Dec 19 13:32:27 2025 +0000 Matrix: Fixed audio attachments never recognized # Conflicts: # bridge/matrix/helpers.go diff --git a/bridge/matrix/helpers.go b/bridge/matrix/helpers.go index 070bb8b..d3f7fd2 100644 --- a/bridge/matrix/helpers.go +++ b/bridge/matrix/helpers.go @@ -1586 +1587 @@ func (b *Bmatrix) containsAttachment(content event.Content) bool {   // Only allow image,video or file msgtypes   if content.AsMessage().MsgType != event.MsgImage &&   content.AsMessage().MsgType != event.MsgVideo && + content.AsMessage().MsgType != event.MsgAudio &&   content.AsMessage().MsgType != event.MsgFile {   return false   }