Merge pull request #3598 from MegaGM/fix.user-status.update.handling

Fix: When a user changes his online status,
This commit is contained in:
Barış Soner Uşaklı
2015-09-13 13:47:51 -04:00

View File

@@ -485,7 +485,7 @@ app.cacheBuster = null;
if(err) {
return app.alertError(err.message);
}
$('[component="user/status"]')
$('[data-uid="' + app.user.uid + '"] [component="user/status"], [component="header/profilelink"] [component="user/status"]')
.removeClass('away online dnd offline')
.addClass(status);