mirror of
https://github.com/hansjone/dsh-im-ops.git
synced 2026-10-13 05:00:45 +08:00
feat: support per-bot workspace switching
This commit is contained in:
parent
adcace3512
commit
44dd50216a
64 changed files with 3878 additions and 712 deletions
|
|
@ -57,6 +57,11 @@ export class ConversationStateStore {
|
|||
await this.#persist();
|
||||
}
|
||||
|
||||
async clearSessions() {
|
||||
this.#state.sessions = {};
|
||||
await this.#persist();
|
||||
}
|
||||
|
||||
hasSeen(messageId) {
|
||||
return this.#state.seenMessageIds.includes(messageId);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue