fix: fixed slow mode

This commit is contained in:
Deven Joshi
2021-11-04 14:11:32 +05:30
parent 267adfd5f0
commit 1e01db318b
@@ -1538,7 +1538,7 @@ class MessageInputState extends State<MessageInput> {
/// Sends the current message
Future<void> sendMessage() async {
var text = messageInputController.text.trim();
var attachments = messageInputController.attachments;
final attachments = messageInputController.attachments;
if (text.isEmpty && attachments.isEmpty) {
return;