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:
commit
4920cfeed9
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user