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;
|
let msgUnread = Unread.NONE;
|
||||||
if ((msg.command == "PRIVMSG" || msg.command == "NOTICE") && !isRead) {
|
if ((msg.command == "PRIVMSG" || msg.command == "NOTICE") && !isRead) {
|
||||||
|
let target = msg.params[0];
|
||||||
let text = msg.params[1];
|
let text = msg.params[1];
|
||||||
|
|
||||||
let kind;
|
let kind;
|
||||||
if (msg.isHighlight) {
|
if (msg.isHighlight) {
|
||||||
msgUnread = Unread.HIGHLIGHT;
|
msgUnread = Unread.HIGHLIGHT;
|
||||||
kind = "highlight";
|
kind = "highlight";
|
||||||
} else if (client.isMyNick(bufName)) {
|
} else if (client.isMyNick(target)) {
|
||||||
msgUnread = Unread.HIGHLIGHT;
|
msgUnread = Unread.HIGHLIGHT;
|
||||||
kind = "private message";
|
kind = "private message";
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue