mirror of
https://github.com/thelounge/thelounge
synced 2024-11-23 04:23:13 +00:00
Invites should not automatically highlight you.
This commit is contained in:
parent
7840b56690
commit
39071aff50
1 changed files with 4 additions and 2 deletions
|
@ -12,14 +12,16 @@ module.exports = function(irc, network) {
|
|||
chan = network.channels[0];
|
||||
}
|
||||
|
||||
const invitedYou = data.invited === irc.user.nick;
|
||||
|
||||
const msg = new Msg({
|
||||
type: Msg.Type.INVITE,
|
||||
time: data.time,
|
||||
from: chan.getUser(data.nick),
|
||||
target: chan.getUser(data.invited),
|
||||
channel: data.channel,
|
||||
highlight: true,
|
||||
invitedYou: data.invited === irc.user.nick,
|
||||
highlight: invitedYou,
|
||||
invitedYou: invitedYou,
|
||||
});
|
||||
chan.pushMessage(client, msg);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue