setProfileKey: Drop profileAvatar when we get new profileKey

This commit is contained in:
Scott Nonnenberg
2020-10-14 09:50:17 -07:00
committed by GitHub
parent 1507dea351
commit 75c7c526a6

View File

@@ -3641,6 +3641,7 @@ export class ConversationModel extends window.Backbone.Model<
`Setting sealedSender to UNKNOWN for conversation ${this.idForLogging()}` `Setting sealedSender to UNKNOWN for conversation ${this.idForLogging()}`
); );
this.set({ this.set({
profileAvatar: undefined,
profileKey, profileKey,
profileKeyVersion: undefined, profileKeyVersion: undefined,
profileKeyCredential: null, profileKeyCredential: null,