From 89d568ce9791d6a4d20529eb59ebd9d7caf0dba6 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Fri, 5 Jul 2019 08:36:16 +0100 Subject: [PATCH] Don't allow editing via up-arrow when Replying Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/components/views/rooms/MessageComposerInput.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/rooms/MessageComposerInput.js b/src/components/views/rooms/MessageComposerInput.js index 6feb9e264e..45a27c4253 100644 --- a/src/components/views/rooms/MessageComposerInput.js +++ b/src/components/views/rooms/MessageComposerInput.js @@ -1143,7 +1143,7 @@ export default class MessageComposerInput extends React.Component { const editingEnabled = SettingsStore.isFeatureEnabled("feature_message_editing"); const shouldSelectHistory = (editingEnabled && e.altKey) || !editingEnabled; - const shouldEditLastMessage = editingEnabled && !e.altKey && up; + const shouldEditLastMessage = editingEnabled && !e.altKey && up && !RoomViewStore.getQuotingEvent(); if (shouldSelectHistory) { // Try select composer history