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()}`
);
this.set({
profileAvatar: undefined,
profileKey,
profileKeyVersion: undefined,
profileKeyCredential: null,