remember last used chat page

This commit is contained in:
marlon-erler
2024-07-20 16:34:16 +02:00
parent e27c360395
commit 5dedd9fb23
3 changed files with 50 additions and 16 deletions
+1
View File
@@ -145,6 +145,7 @@ export const storageKeys = {
// chat etc
chats: [DATA_VERSION, "chat"],
chatInfo: (id: string) => [DATA_VERSION, "chat", id, "info"],
chatLastUsedPage: (id: string) => [DATA_VERSION, "chat", id, "last-used-page"],
chatMessages: (id: string) => [DATA_VERSION, "chat", id, "messages"],
chatObjects: (id: string) => [DATA_VERSION, "chat", id, "objects"],
chatOutbox: (id: string) => [DATA_VERSION, "chat", id, "outbox"],