Update packages/stream_chat/lib/src/client/channel.dart

This commit is contained in:
Sahil Kumar
2023-06-20 15:00:30 +05:30
committed by GitHub
parent 0356b42fd4
commit ffeef9fc3e
@@ -582,7 +582,7 @@ class Channel {
// Eg. Updating the message while the previous call is in progress.
_messageAttachmentsUploadCompleter
.remove(message.id)
?.completeError(const StreamChatError('Message deleted'));
?.completeError(const StreamChatError('Message cancelled'));
final quotedMessage = state!.messages.firstWhereOrNull(
(m) => m.id == message.quotedMessageId,