mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
Bump direct message unread priority
This commit is contained in:
parent
e56deb35c9
commit
61e35dd68a
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue