Merge pull request #473 from thelounge/astorije/self-toggle

Add self info to TOGGLE messages to prevent unread marker to render for oneself
This commit is contained in:
Maxime Poulin 2016-07-11 02:35:24 +00:00 committed by GitHub
commit 4920cfeed9

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);