Fix missing channel name in setBufferState call
This commit is contained in:
+1
-1
@@ -239,7 +239,7 @@ export default class App extends Component {
|
|||||||
var channel = msg.params[0];
|
var channel = msg.params[0];
|
||||||
var topic = msg.params[1];
|
var topic = msg.params[1];
|
||||||
|
|
||||||
this.setBufferState((buf) => {
|
this.setBufferState(channel, (buf) => {
|
||||||
return { ...buf, topic };
|
return { ...buf, topic };
|
||||||
});
|
});
|
||||||
this.addMessage(channel, msg);
|
this.addMessage(channel, msg);
|
||||||
|
|||||||
Reference in New Issue
Block a user