Cleaning files

pull/28788/head^2
Florian Duros 2022-10-19 19:44:49 +02:00
parent c7e83baa36
commit e9b285c5e0
No known key found for this signature in database
GPG Key ID: 9700AA5870258A0B
3 changed files with 1 additions and 5 deletions

View File

@ -833,8 +833,6 @@ export default class BasicMessageEditor extends React.Component<IProps, IState>
}
public insertPlaintext(text: string): void {
console.log('insertPlaintext', text);
debugger;
this.modifiedFlag = true;
const { model } = this.props;
const { partCreator } = model;

View File

@ -350,7 +350,6 @@ class EditMessageComposer extends React.Component<IEditMessageComposerProps, ISt
const event = this.props.editState.getEvent();
const threadId = event.threadRootId || null;
console.log('editContent', editContent);
this.props.mxClient.sendMessage(roomId, threadId, editContent);
dis.dispatch({ action: "message_sent" });
}

View File

@ -316,9 +316,8 @@ class MessageComposer extends React.Component<IProps, IState> {
}
this.messageComposerInput.current?.sendMessage();
// this.composerSendMessage?.();
const isWysiwygComposerEnabled = SettingsStore.getValue("feature_wysiwyg_composer");
const isWysiwygComposerEnabled = SettingsStore.getValue("feature_wysiwyg_composer");
if (isWysiwygComposerEnabled) {
const { permalinkCreator, relation, replyToEvent } = this.props;
sendMessage(this.state.composerContent,