Explorar el Código

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

Danilo Bargen hace 5 años
padre
commit
ea0519c312
Se han modificado 1 ficheros con 2 adiciones y 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;
                     }
                 }