ESlint radix

This commit is contained in:
Peter Jaszkowiak
2017-02-18 14:29:52 -07:00
parent 09e868ce5f
commit 57f89663aa
11 changed files with 12 additions and 12 deletions

View File

@@ -25,7 +25,7 @@ module.exports = function (Messaging) {
message: messageObj,
};
uids.forEach(function (uid) {
data.self = parseInt(uid, 10) === parseInt(fromUid) ? 1 : 0;
data.self = parseInt(uid, 10) === parseInt(fromUid, 10) ? 1 : 0;
Messaging.pushUnreadCount(uid);
sockets.in('uid_' + uid).emit('event:chats.receive', data);
});