Explorar el Código

fix: Fixes showing phone icon for jigasi participants.

master
damencho hace 4 años
padre
commit
2ba6100e36
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1
    2
      react/features/base/participants/functions.js

+ 1
- 2
react/features/base/participants/functions.js Ver fichero

@@ -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
 /**

Loading…
Cancelar
Guardar