Przeglądaj źródła

fix: Fixes showing phone icon for jigasi participants.

master
damencho 4 lat temu
rodzic
commit
2ba6100e36
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1
    2
      react/features/base/participants/functions.js

+ 1
- 2
react/features/base/participants/functions.js Wyświetl plik

@@ -16,7 +16,6 @@ import {
16 16
 } from './constants';
17 17
 import { preloadImage } from './preloadImage';
18 18
 
19
-declare var config: Object;
20 19
 declare var interfaceConfig: Object;
21 20
 
22 21
 /**
@@ -299,7 +298,7 @@ export function isEveryoneModerator(stateful: Object | Function) {
299 298
  * @returns {boolean}
300 299
  */
301 300
 export function isIconUrl(icon: ?string | ?Object) {
302
-    return Boolean(icon) && typeof icon === 'object';
301
+    return Boolean(icon) && (typeof icon === 'object' || typeof icon === 'function');
303 302
 }
304 303
 
305 304
 /**

Ładowanie…
Anuluj
Zapisz