fix: Fixes showing phone icon for jigasi participants.

This commit is contained in:
damencho 2021-01-05 13:02:11 -06:00 committed by Дамян Минков
parent 060a8628ce
commit 2ba6100e36
1 changed files with 1 additions and 2 deletions

View File

@ -16,7 +16,6 @@ import {
} from './constants';
import { preloadImage } from './preloadImage';
declare var config: Object;
declare var interfaceConfig: Object;
/**
@ -299,7 +298,7 @@ export function isEveryoneModerator(stateful: Object | Function) {
* @returns {boolean}
*/
export function isIconUrl(icon: ?string | ?Object) {
return Boolean(icon) && typeof icon === 'object';
return Boolean(icon) && (typeof icon === 'object' || typeof icon === 'function');
}
/**