From b1c7b31dd3ad2241acdd7e8effdde742f3a76bf0 Mon Sep 17 00:00:00 2001 From: Luiz Eduardo Date: Fri, 22 Apr 2016 11:23:58 -0300 Subject: [PATCH] Fixed guest issue --- webserver/public/lib/js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)