From 8f4a2026e4c5b8c6ed7d8b537b6c97a0dbac84b7 Mon Sep 17 00:00:00 2001 From: Josh Perez <60019601+josh-signal@users.noreply.github.com> Date: Tue, 24 Aug 2021 19:37:17 -0400 Subject: [PATCH] Adds additional logging to profile sharing enable/disable --- ts/models/conversations.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ts/models/conversations.ts b/ts/models/conversations.ts index 68401557e1..f224b74be3 100644 --- a/ts/models/conversations.ts +++ b/ts/models/conversations.ts @@ -898,6 +898,9 @@ export class ConversationModel extends window.Backbone } enableProfileSharing({ viaStorageServiceSync = false } = {}): void { + window.log.info( + `enableProfileSharing: ${this.idForLogging()} storage? ${viaStorageServiceSync}` + ); const before = this.get('profileSharing'); this.set({ profileSharing: true }); @@ -910,6 +913,9 @@ export class ConversationModel extends window.Backbone } disableProfileSharing({ viaStorageServiceSync = false } = {}): void { + window.log.info( + `disableProfileSharing: ${this.idForLogging()} storage? ${viaStorageServiceSync}` + ); const before = this.get('profileSharing'); this.set({ profileSharing: false });