diff --git a/webserver/public/lib/js/app.js b/webserver/public/lib/js/app.js index 71fb9c1..7fb8f9b 100644 --- a/webserver/public/lib/js/app.js +++ b/webserver/public/lib/js/app.js @@ -1883,7 +1883,7 @@ } //Do chat notifications - if(user.uid != MP.api.room.getUser().uid){ + if (MP.user && user.uid != MP.user.uid){ //Desktop notification if(settings.roomSettings.notifications.desktop.chat)