chore: Follow up draft fix

This commit is contained in:
Krille 2022-12-30 18:24:34 +01:00
parent c9f4904d99
commit 835d97f439

View File

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