add internal gomuks command support
This commit is contained in:
parent
3fc33a5ac9
commit
8650c44266
1 changed files with 168 additions and 79 deletions
|
|
@ -300,7 +300,8 @@ class const Composer(
|
|||
|
||||
final botCommands = isEditing || hasReplacement || attachment != null
|
||||
? const IList<BotCommand>.empty()
|
||||
: ref.watch(BotCommandsController.provider(roomId));
|
||||
: ref.watch(BotCommandsController.provider(roomId)).value ??
|
||||
const .empty();
|
||||
|
||||
void pickBotCommand(BotCommand command) {
|
||||
ref
|
||||
|
|
|
|||
Loading…
Reference in a new issue