We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c6ed4b commit aadc74aCopy full SHA for aadc74a
src/components/Channel/Channel.tsx
@@ -431,7 +431,7 @@ export const Channel = <
431
Us
432
>['updateMessage'] = (updatedMessage, extraState = {}) => {
433
if (channel) {
434
- channel.state.addMessageSorted(updatedMessage);
+ channel.state.addMessageSorted(updatedMessage, true);
435
if (thread && updatedMessage.parent_id) {
436
extraState.threadMessages =
437
channel.state.threads[updatedMessage.parent_id] || [];
0 commit comments