소스 검색

fix: Fixes showing phone icon for jigasi participants.

master
damencho 4 년 전
부모
커밋
2ba6100e36
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1
    2
      react/features/base/participants/functions.js

+ 1
- 2
react/features/base/participants/functions.js 파일 보기

@@ -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…
취소
저장