Merge pull request #545 from GetStream/giphy-fix

fix: Giphy cancel error
This commit is contained in:
Salvatore Giordano
2021-07-14 17:51:14 +02:00
committed by GitHub
@@ -888,6 +888,7 @@ class Channel {
final oldMessage = state!.messages[oldIndex];
state!.updateChannelState(state!._channelState.copyWith(
messages: state?.messages?..remove(oldMessage),
channel: state?._channelState.channel,
));
} else {
// remove thread message if present