Add support for incoming REDACT
This does not include support for redacting messages, only reading incoming REDACT messages. See: https://github.com/ircv3/ircv3-specifications/pull/524
This commit is contained in:
parent
ca0cfdcc28
commit
7dd21177bc
4 changed files with 21 additions and 4 deletions
|
@ -762,7 +762,7 @@ export default class App extends Component {
|
|||
|
||||
// Open a new buffer if the message doesn't come from me or is a
|
||||
// self-message
|
||||
if ((!client.isMyNick(msg.prefix.name) || client.isMyNick(bufName)) && (msg.command !== "PART" && msg.comand !== "QUIT" && msg.command !== irc.RPL_MONONLINE && msg.command !== irc.RPL_MONOFFLINE)) {
|
||||
if ((!client.isMyNick(msg.prefix.name) || client.isMyNick(bufName)) && (msg.command !== "PART" && msg.command !== "QUIT" && msg.command !== irc.RPL_MONONLINE && msg.command !== irc.RPL_MONOFFLINE)) {
|
||||
this.createBuffer(serverID, bufName);
|
||||
}
|
||||
|
||||
|
@ -1075,6 +1075,7 @@ export default class App extends Component {
|
|||
case "ACK":
|
||||
case "BOUNCER":
|
||||
case "MARKREAD":
|
||||
case "REDACT":
|
||||
// Ignore these
|
||||
return [];
|
||||
default:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue