mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
ensure session.info is synced when shared
This commit is contained in:
parent
c57b52c300
commit
4a06e164d2
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue