mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-26 21:28:40 +00:00
Change attributes before queuing job
Co-authored-by: Scott Nonnenberg <scott@signal.org>
This commit is contained in:
@@ -2631,7 +2631,9 @@ export async function startApp(): Promise<void> {
|
||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||
const conversation = window.ConversationController.get(id)!;
|
||||
|
||||
conversation.enableProfileSharing();
|
||||
conversation.enableProfileSharing({
|
||||
reason: 'handleMessageSentProfileUpdate',
|
||||
});
|
||||
await DataWriter.updateConversation(conversation.attributes);
|
||||
|
||||
// Then we update our own profileKey if it's different from what we have
|
||||
|
||||
Reference in New Issue
Block a user