fix: Fixes showing phone icon for jigasi participants.
This commit is contained in:
parent
060a8628ce
commit
2ba6100e36
|
@ -16,7 +16,6 @@ import {
|
||||||
} from './constants';
|
} from './constants';
|
||||||
import { preloadImage } from './preloadImage';
|
import { preloadImage } from './preloadImage';
|
||||||
|
|
||||||
declare var config: Object;
|
|
||||||
declare var interfaceConfig: Object;
|
declare var interfaceConfig: Object;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -299,7 +298,7 @@ export function isEveryoneModerator(stateful: Object | Function) {
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
export function isIconUrl(icon: ?string | ?Object) {
|
export function isIconUrl(icon: ?string | ?Object) {
|
||||||
return Boolean(icon) && typeof icon === 'object';
|
return Boolean(icon) && (typeof icon === 'object' || typeof icon === 'function');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue