cleanup, prepare taskViewModel
This commit is contained in:
@@ -85,7 +85,7 @@ export default class ChatModel {
|
|||||||
// messaging
|
// messaging
|
||||||
sendMessage = async (
|
sendMessage = async (
|
||||||
body: string,
|
body: string,
|
||||||
fileContent: FileContent<string>
|
fileContent?: FileContent<string>
|
||||||
): Promise<boolean> => {
|
): Promise<boolean> => {
|
||||||
const senderName = this.settingsModel.username;
|
const senderName = this.settingsModel.username;
|
||||||
if (senderName == "") return false;
|
if (senderName == "") return false;
|
||||||
@@ -263,7 +263,7 @@ export default class ChatModel {
|
|||||||
sender: string,
|
sender: string,
|
||||||
encryptionKey: string,
|
encryptionKey: string,
|
||||||
body: string,
|
body: string,
|
||||||
fileContent: FileContent<string>
|
fileContent?: FileContent<string>
|
||||||
): Promise<ChatMessage> => {
|
): Promise<ChatMessage> => {
|
||||||
const chatMessage: ChatMessage = {
|
const chatMessage: ChatMessage = {
|
||||||
dataVersion: DATA_VERSION,
|
dataVersion: DATA_VERSION,
|
||||||
|
|||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import * as React from "bloatless-react";
|
||||||
|
|
||||||
|
export default class TaskViewModel {}
|
||||||
Reference in New Issue
Block a user