Adds additional logging to profile sharing enable/disable
This commit is contained in:
parent
9f1bd94627
commit
8f4a2026e4
1 changed files with 6 additions and 0 deletions
|
@ -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 });
|
||||
|
|
Loading…
Reference in a new issue