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 4f5a105 commit cab8e41Copy full SHA for cab8e41
src/chat/util/rehydrateMessage.ts
@@ -66,6 +66,14 @@ export function rehydrateMessage(value: any): MsgModel | undefined {
66
);
67
}
68
69
+ // Remove problematic fields that might cause issues during model creation
70
+ // Mainly fields that are related to mentions in groups for quoted messages
71
+ delete msgData.rowId;
72
+ delete msgData.labels;
73
+ delete msgData.groupMentions;
74
+ delete msgData.nonJidMentions;
75
+ delete msgData.mentionedJidList;
76
+
77
const msg = new MsgModel(msgData);
78
79
// Wrap msgContextInfo to remove problematic fields (mainly for quoted medias)
0 commit comments