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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,