finish outbox and send methods
This commit is contained in:
@@ -18,7 +18,6 @@ export class ChatModel {
|
||||
|
||||
messages = new Set<ChatMessage>();
|
||||
objects = new Map<string, ChatObject>();
|
||||
outbox = new Set<ChatMessage>();
|
||||
|
||||
// paths
|
||||
get infoPath(): string[] {
|
||||
@@ -37,10 +36,6 @@ export class ChatModel {
|
||||
return storageKeys.chatObjects(this.id);
|
||||
}
|
||||
|
||||
get outboxDirPath(): string[] {
|
||||
return storageKeys.chatOutbox(this.id);
|
||||
}
|
||||
|
||||
getMessagePath = (id: string): string[] => {
|
||||
return [...this.messageDirPath, id];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user