Quellcode durchsuchen

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

Danilo Bargen vor 5 Jahren
Ursprung
Commit
ea0519c312
1 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  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;
                     }
                 }