chore: Follow up draft fix

This commit is contained in:
Krille 2022-12-30 18:24:34 +01:00
parent c9f4904d99
commit 835d97f439
1 changed files with 1 additions and 0 deletions

View File

@ -268,6 +268,7 @@ class ChatController extends State<Chat> {
Future<void> send() async { Future<void> send() async {
if (sendController.text.trim().isEmpty) return; if (sendController.text.trim().isEmpty) return;
_storeInputTimeoutTimer?.cancel();
final prefs = await SharedPreferences.getInstance(); final prefs = await SharedPreferences.getInstance();
prefs.remove('draft_$roomId'); prefs.remove('draft_$roomId');
var parseCommands = true; var parseCommands = true;