diff --git a/src/Utils/history.ts b/src/Utils/history.ts index 20461c7..eedbdff 100644 --- a/src/Utils/history.ts +++ b/src/Utils/history.ts @@ -46,9 +46,6 @@ export const processHistoryMessage = (item: proto.IHistorySync) => { const msgs = chat.messages || [] delete chat.messages - delete chat.archived - delete chat.muteEndTime - delete chat.pinned for (const item of msgs) { const message = item.message! @@ -75,10 +72,6 @@ export const processHistoryMessage = (item: proto.IHistorySync) => { } } - if (isJidUser(chat.id) && chat.readOnly && chat.archived) { - delete chat.readOnly - } - chats.push({ ...chat }) }