chore: Follow up chat view logic

This commit is contained in:
Krille 2023-12-25 18:07:19 +01:00
parent c8b939a506
commit 696b284265
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652

View file

@ -469,6 +469,7 @@ class ChatController extends State<ChatPageWithRoom> {
setState(() {
sendController.text = pendingText;
_inputTextIsEmpty = pendingText.isEmpty;
replyEvent = null;
editEvent = null;
pendingText = '';
@ -1197,7 +1198,7 @@ class ChatController extends State<ChatPageWithRoom> {
text.toLowerCase() == '${prefix.toLowerCase()} ') {
setSendingClient(client);
setState(() {
sendController.text = '';
sendController.clear();
});
return;
}