fix: undefined participant in avatar call

This commit is contained in:
Bettenbuk Zoltan 2019-07-03 14:31:29 +02:00 committed by Zoltan Bettenbuk
parent f90fc665f8
commit 658679f89e
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ MiddlewareRegistry.register(store => next => action => {
const result = next(action);
if (participant.loadableAvatarUrl !== loadableAvatarUrl) {
if (participant && (participant.loadableAvatarUrl !== loadableAvatarUrl)) {
APP.API.notifyAvatarChanged(
id,
loadableAvatarUrl