fix bug where sent messages would be added to every chat
This commit is contained in:
@@ -68,7 +68,7 @@ export default class FileModel {
|
||||
};
|
||||
|
||||
// methods
|
||||
addFileContent = (fileContent: FileContent<string>): void => {
|
||||
addFileContentAndSend = (fileContent: FileContent<string>): void => {
|
||||
this.handleFileContent(fileContent);
|
||||
this.chatModel.sendMessage("", fileContent);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user