From 4d21e1e22b7d8fd39a96cf0fe71be3c5071d12c7 Mon Sep 17 00:00:00 2001 From: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com> Date: Wed, 9 Feb 2022 10:29:33 -0800 Subject: [PATCH] Update storage service when sharing profile key --- ts/models/conversations.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index 2d49a76d10..9a403dbded 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -4031,6 +4031,10 @@ export class ConversationModel extends window.Backbone timestamp: now, isArchived: false, }); + + if (enableProfileSharing) { + this.captureChange('mandatoryProfileSharing'); + } } finally { this.isInReduxBatch = false; }