mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 23:18:21 +00:00
Cleaning files
This commit is contained in:
@@ -833,8 +833,6 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
|
|||||||
}
|
}
|
||||||
|
|
||||||
public insertPlaintext(text: string): void {
|
public insertPlaintext(text: string): void {
|
||||||
console.log('insertPlaintext', text);
|
|
||||||
debugger;
|
|
||||||
this.modifiedFlag = true;
|
this.modifiedFlag = true;
|
||||||
const { model } = this.props;
|
const { model } = this.props;
|
||||||
const { partCreator } = model;
|
const { partCreator } = model;
|
||||||
|
|||||||
@@ -350,7 +350,6 @@ class EditMessageComposer extends React.Component<IEditMessageComposerProps, ISt
|
|||||||
const event = this.props.editState.getEvent();
|
const event = this.props.editState.getEvent();
|
||||||
const threadId = event.threadRootId || null;
|
const threadId = event.threadRootId || null;
|
||||||
|
|
||||||
console.log('editContent', editContent);
|
|
||||||
this.props.mxClient.sendMessage(roomId, threadId, editContent);
|
this.props.mxClient.sendMessage(roomId, threadId, editContent);
|
||||||
dis.dispatch({ action: "message_sent" });
|
dis.dispatch({ action: "message_sent" });
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -316,9 +316,8 @@ class MessageComposer extends React.Component<IProps, IState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.messageComposerInput.current?.sendMessage();
|
this.messageComposerInput.current?.sendMessage();
|
||||||
// this.composerSendMessage?.();
|
|
||||||
const isWysiwygComposerEnabled = SettingsStore.getValue("feature_wysiwyg_composer");
|
|
||||||
|
|
||||||
|
const isWysiwygComposerEnabled = SettingsStore.getValue("feature_wysiwyg_composer");
|
||||||
if (isWysiwygComposerEnabled) {
|
if (isWysiwygComposerEnabled) {
|
||||||
const { permalinkCreator, relation, replyToEvent } = this.props;
|
const { permalinkCreator, relation, replyToEvent } = this.props;
|
||||||
sendMessage(this.state.composerContent,
|
sendMessage(this.state.composerContent,
|
||||||
|
|||||||
Reference in New Issue
Block a user