fix setMessageInputEvent being called initially
This commit is contained in:
parent
5072ea5ab5
commit
6a962f2fba
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@
|
||||||
unsubscribers.push(selectedChannel.subscribe(focusTextarea));
|
unsubscribers.push(selectedChannel.subscribe(focusTextarea));
|
||||||
|
|
||||||
// Handle the setMessageInput event
|
// Handle the setMessageInput event
|
||||||
unsubscribers.push(setMessageInputEvent.subscribe((value) => {
|
unsubscribers.push(setMessageInputEvent.watch((value) => {
|
||||||
messageInput = value;
|
messageInput = value;
|
||||||
focusTextarea();
|
focusTextarea();
|
||||||
}));
|
}));
|
||||||
|
|
Loading…
Reference in a new issue