Fix missing channel name in setBufferState call
This commit is contained in:
parent
0c79b9a3ee
commit
f5106f1357
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue