ensure session.info is synced when shared

pull/218/head v0.1.90
Dax Raad 2025-06-19 09:41:11 -04:00
parent c57b52c300
commit 4a06e164d2
1 changed files with 1 additions and 0 deletions

View File

@ -151,6 +151,7 @@ export namespace Session {
}
})
await Storage.writeJSON<ShareInfo>("session/share/" + id, share)
await Share.sync("session/info/" + id, session)
for (const msg of await messages(id)) {
await Share.sync("session/message/" + id + "/" + msg.id, msg)
}