cleanup, prepare taskViewModel

This commit is contained in:
marlon-erler
2024-07-22 19:54:39 +02:00
parent a798c7d835
commit 84b6550cf3
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -85,7 +85,7 @@ export default class ChatModel {
// messaging
sendMessage = async (
body: string,
fileContent: FileContent<string>
fileContent?: FileContent<string>
): Promise<boolean> => {
const senderName = this.settingsModel.username;
if (senderName == "") return false;
@@ -263,7 +263,7 @@ export default class ChatModel {
sender: string,
encryptionKey: string,
body: string,
fileContent: FileContent<string>
fileContent?: FileContent<string>
): Promise<ChatMessage> => {
const chatMessage: ChatMessage = {
dataVersion: DATA_VERSION,
+3
View File
@@ -0,0 +1,3 @@
import * as React from "bloatless-react";
export default class TaskViewModel {}