mirror of
https://github.com/mautrix/whatsapp.git
synced 2025-03-14 14:15:38 +00:00
capabilities: fix audio/ogg being rejected
This commit is contained in:
parent
c3a263a537
commit
652a02ed58
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ var whatsappCaps = &event.RoomFeatures{
|
|||
event.CapMsgVoice: {
|
||||
MimeTypes: map[string]event.CapabilitySupportLevel{
|
||||
"audio/ogg; codecs=opus": event.CapLevelFullySupported,
|
||||
"audio/ogg": event.CapLevelUnsupported,
|
||||
},
|
||||
Caption: event.CapLevelDropped,
|
||||
MaxSize: WAMaxFileSize,
|
||||
|
|
Loading…
Add table
Reference in a new issue