Bump direct message unread priority

This commit is contained in:
Simon Ser 2021-06-10 18:57:57 +02:00
parent e56deb35c9
commit 61e35dd68a

View file

@ -366,13 +366,14 @@ export default class App extends Component {
let msgUnread = Unread.NONE;
if ((msg.command == "PRIVMSG" || msg.command == "NOTICE") && !isRead) {
let target = msg.params[0];
let text = msg.params[1];
let kind;
if (msg.isHighlight) {
msgUnread = Unread.HIGHLIGHT;
kind = "highlight";
} else if (client.isMyNick(bufName)) {
} else if (client.isMyNick(target)) {
msgUnread = Unread.HIGHLIGHT;
kind = "private message";
} else {