Add support for draft/event-playback
This commit is contained in:
parent
651e255ddb
commit
34078d5da7
4 changed files with 65 additions and 34 deletions
5
state.js
5
state.js
|
@ -249,6 +249,11 @@ export const State = {
|
|||
return State.updateBuffer(state, { server: serverID, name }, updater);
|
||||
}
|
||||
|
||||
// Don't update our internal state if it's a chat history message
|
||||
if (irc.findBatchByType(msg, "chathistory")) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (msg.command) {
|
||||
case irc.RPL_MYINFO:
|
||||
// TODO: parse available modes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue