Remove unused code

This commit is contained in:
Florian Duros 2022-10-07 10:53:50 +02:00
parent a50329fb97
commit 4938aa8f74
No known key found for this signature in database
GPG key ID: 9700AA5870258A0B

View file

@ -173,12 +173,6 @@ export function sendMessage(
// TODO save history
// TODO save local state
// this.sendHistoryManager.save(model, replyToEvent);
// clear composer
// model.reset([]);
// this.editorRef.current?.clearUndoHistory();
// this.editorRef.current?.focus();
// this.clearStoredEditorState();
//if (shouldSend && SettingsStore.getValue("scrollToBottomOnMessageSent")) {
if (SettingsStore.getValue("scrollToBottomOnMessageSent")) {
dis.dispatch({