Always refetch profile key credential if expired

This commit is contained in:
Fedor Indutny 2022-07-18 13:05:41 -07:00 committed by GitHub
parent 2f252b8e26
commit a4cf2e0948
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 37 deletions

View file

@ -196,10 +196,6 @@ function* getFilteredConversations(
(conversation.id === ourConversationId ||
!conversationIdsSeen.has(conversation.id))
) {
conversation.set({
profileKeyCredential: null,
profileKeyCredentialExpiration: null,
});
conversationIdsSeen.add(conversation.id);
yield conversation;
break;