Handle RPL_NOTOPIC

This commit is contained in:
Simon Ser committed 2020-08-03 18:59:54 +02:00
1 parent aaa33d7f36
commit 0157dd4cc6
2 files changed
+6

No files matched your search

+5
View File
@@ -377,6 +377,11 @@ export default class App extends Component {
};
this.setBufferState(SERVER_BUFFER, { serverInfo });
break;
case irc.RPL_NOTOPIC:
var channel = msg.params[1];
this.setBufferState(channel, { topic: null });
break;
case irc.RPL_TOPIC:
var channel = msg.params[1];
var topic = msg.params[2];