finish outbox and send methods

This commit is contained in:
marlon-erler
2024-07-20 20:03:46 +02:00
parent 92383f772e
commit bdbd2ac8b6
3 changed files with 52 additions and 8 deletions
+1 -1
View File
@@ -131,6 +131,7 @@ export type StorageEntry = { [key: string]: StorageEntry };
export const storageKeys = {
// connection
socketAddress: [DATA_VERSION, "connection", "socket-address"],
outbox: [DATA_VERSION, "connection", "outbox"],
// settings
username: [DATA_VERSION, "settings", "user-name"],
@@ -149,5 +150,4 @@ export const storageKeys = {
chatColor: (id: string) => [DATA_VERSION, "chat", id, "color"],
chatMessages: (id: string) => [DATA_VERSION, "chat", id, "messages"],
chatObjects: (id: string) => [DATA_VERSION, "chat", id, "objects"],
chatOutbox: (id: string) => [DATA_VERSION, "chat", id, "outbox"],
};