build chatModel

This commit is contained in:
marlon-erler
2024-07-19 20:50:42 +02:00
parent ba3d78d8d0
commit 5fbf97198d
7 changed files with 207 additions and 82 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ export default class ConnectionModel {
// messaging
sendChatMessage = (chatMessage: ChatMessage): boolean => {
const stringifiedBody = stringify(chatMessage);
const stringifiedBody: string = stringify(chatMessage);
return this.udn.sendMessage(chatMessage.channel, stringifiedBody);
};