mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
Fix missing channel name in setBufferState call
This commit is contained in:
parent
0c79b9a3ee
commit
f5106f1357
@ -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…
x
Reference in New Issue
Block a user