Parse all CTCP messages
We display them nicely, however we never reply to them.
This commit is contained in:
parent
012b9f515a
commit
bce216b7fb
3 changed files with 36 additions and 7 deletions
|
@ -304,7 +304,7 @@ export default class App extends Component {
|
|||
msgUnread = Unread.MESSAGE;
|
||||
}
|
||||
|
||||
if (msgUnread == Unread.HIGHLIGHT && window.Notification && Notification.permission === "granted" && !isDelivered) {
|
||||
if (msgUnread == Unread.HIGHLIGHT && window.Notification && Notification.permission === "granted" && !isDelivered && !irc.parseCTCP(msg)) {
|
||||
var title = "New " + kind + " from " + msg.prefix.name;
|
||||
if (this.isChannel(target)) {
|
||||
title += " in " + target;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue