Add self info to TOGGLE messages to prevent unread marker to render for oneself

This commit is contained in:
Jérémie Astori 2016-07-07 02:09:26 -04:00
parent 548a8d7130
commit b1674f4f20

View file

@ -32,6 +32,7 @@ module.exports = function(irc, network) {
}
var msg = new Msg({
self: data.nick === irc.user.nick,
type: Msg.Type.TOGGLE,
});
chan.pushMessage(client, msg);