Fix dropped avatar on PNP settings update
This commit is contained in:
parent
eb82ace2de
commit
330202960c
4 changed files with 42 additions and 23 deletions
|
@ -242,8 +242,7 @@ export function createIPCEvents(
|
|||
// writeProfile fetches the latest profile first so do it before updating
|
||||
// local data to prevent triggering a conflict.
|
||||
await writeProfile(getConversation(account), {
|
||||
oldAvatar: undefined,
|
||||
newAvatar: undefined,
|
||||
keepAvatar: true,
|
||||
});
|
||||
|
||||
const promises = new Array<Promise<void>>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue