mirror of
https://github.com/sst/opencode.git
synced 2025-07-07 16:14:59 +00:00
disable autoshare
This commit is contained in:
parent
eeed5b8718
commit
df13b155f9
1 changed files with 0 additions and 6 deletions
|
@ -92,12 +92,6 @@ export namespace Session {
|
|||
log.info("created", result)
|
||||
state().sessions.set(result.id, result)
|
||||
await Storage.writeJSON("session/info/" + result.id, result)
|
||||
if (!result.parentID)
|
||||
share(result.id).then((share) => {
|
||||
update(result.id, (draft) => {
|
||||
draft.share = share
|
||||
})
|
||||
})
|
||||
Bus.publish(Event.Updated, {
|
||||
info: result,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue