Better sync between convo and protocol stores

This commit is contained in:
Fedor Indutny 2024-05-31 07:15:43 -07:00 committed by GitHub
parent 442cc43b94
commit fbf91a4d79
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 195 additions and 14 deletions

View file

@ -3015,11 +3015,6 @@ export async function startApp(): Promise<void> {
try {
log.info('unlinkAndDisconnect: removing configuration');
// First, make changes to conversations in memory
window.getConversations().forEach(conversation => {
conversation.unset('senderKeyInfo');
});
// We use username for integrity check
const ourConversation =
window.ConversationController.getOurConversation();