Explorar o código

Fix feature level check when sending image/video messages (#936)

Danilo Bargen %!s(int64=5) %!d(string=hai) anos
pai
achega
ea0519c312
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/services/webclient.ts

+ 2 - 0
src/services/webclient.ts

@@ -1855,8 +1855,10 @@ export class WebClientService {
                         invalidFeatureMessage = 'error.AUDIO_MESSAGES_NOT_SUPPORTED';
                     } else if (this.mimeService.isImage(mimeType)) {
                         reflectedType = 'image';
+                        requiredFeature = ContactReceiverFeature.NONE;
                     } else if (this.mimeService.isVideo(mimeType)) {
                         reflectedType = 'video';
+                        requiredFeature = ContactReceiverFeature.NONE;
                     }
                 }