Fix missing channel name in setBufferState call

This commit is contained in:
Simon Ser
2020-06-24 15:45:55 +02:00
parent 0c79b9a3ee
commit f5106f1357

View File

@@ -239,7 +239,7 @@ export default class App extends Component {
var channel = msg.params[0];
var topic = msg.params[1];
this.setBufferState((buf) => {
this.setBufferState(channel, (buf) => {
return { ...buf, topic };
});
this.addMessage(channel, msg);