mirror of
https://github.com/thelounge/thelounge
synced 2024-09-21 06:32:00 +00:00
Add self info to TOGGLE messages to prevent unread marker to render for oneself
This commit is contained in:
parent
548a8d7130
commit
b1674f4f20
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue