fix: undefined participant in avatar call
This commit is contained in:
parent
f90fc665f8
commit
658679f89e
|
@ -39,7 +39,7 @@ MiddlewareRegistry.register(store => next => action => {
|
||||||
|
|
||||||
const result = next(action);
|
const result = next(action);
|
||||||
|
|
||||||
if (participant.loadableAvatarUrl !== loadableAvatarUrl) {
|
if (participant && (participant.loadableAvatarUrl !== loadableAvatarUrl)) {
|
||||||
APP.API.notifyAvatarChanged(
|
APP.API.notifyAvatarChanged(
|
||||||
id,
|
id,
|
||||||
loadableAvatarUrl
|
loadableAvatarUrl
|
||||||
|
|
Loading…
Reference in New Issue