mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
Adds additional logging to profile sharing enable/disable
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user