fix messageinput

This commit is contained in:
Salvatore Giordano
2021-05-03 12:50:20 +02:00
parent 105929bd49
commit 699771c104
@@ -2095,7 +2095,7 @@ class MessageInputState extends State<MessageInput> {
}
return sendingFuture.then((resp) {
if (resp.message?._type == 'error') {
if (resp.message?.type == 'error') {
_parseExistingMessage(message);
}
if (widget.onMessageSent != null) {