@ -156,7 +156,7 @@ function directMessagesPopup() {
.attr('title', polyglot.t('Mark all as read'))
.on('click', function() {
for (var user in _newDMsPerUser) {
if (!user[0] === '*')
if (user[0] !== '*')
_newDMsPerUser[user] = 0;
}
saveDMsToStorage();
@ -225,7 +225,7 @@ function getNewDMsCount() {
var newDMs = 0;
if (!user[0] === '*' && _newDMsPerUser[user])
if (user[0] !== '*' && _newDMsPerUser[user])
newDMs += _newDMsPerUser[user];