We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 53cb46e commit 9d2a6c5Copy full SHA for 9d2a6c5
ts/models/conversation.ts
@@ -1361,6 +1361,20 @@ export class ConversationModel extends Model<ConversationAttributes> {
1361
this.set({ avatarPointer: newProfile.avatarPointer });
1362
changes = true;
1363
}
1364
+ } else {
1365
+ if (
1366
+ this.getAvatarInProfilePath() ||
1367
+ this.getFallbackAvatarInProfilePath() ||
1368
+ this.getAvatarPointer()
1369
+ ) {
1370
+ changes = true;
1371
+ }
1372
+ this.set({
1373
+ avatarInProfile: undefined,
1374
+ avatarPointer: undefined,
1375
+ profileKey: undefined,
1376
+ fallbackAvatarInProfile: undefined,
1377
+ });
1378
1379
1380
if (changes) {
0 commit comments