summary refs log tree commit diff
path: root/src/timeline/InputBar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline/InputBar.cpp')
-rw-r--r--src/timeline/InputBar.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp

index 6c882cd4..2491b5c1 100644 --- a/src/timeline/InputBar.cpp +++ b/src/timeline/InputBar.cpp
@@ -390,8 +390,7 @@ InputBar::send() auto wasEdit = !room->edit().isEmpty(); - auto [commandName, args] = getCommandAndArgs(); - if (commandName.isNull()) + if (auto [commandName, args] = getCommandAndArgs(); commandName.isNull()) message(text()); else command(commandName, args);