Remove editing feature flag
Part of https://github.com/vector-im/riot-web/issues/10282
This commit is contained in:
parent
b8aae63c83
commit
674f33917f
8 changed files with 7 additions and 23 deletions
|
@ -1141,9 +1141,8 @@ export default class MessageComposerInput extends React.Component {
|
|||
if (!selection.anchor.isAtEndOfNode(document)) return;
|
||||
}
|
||||
|
||||
const editingEnabled = SettingsStore.isFeatureEnabled("feature_message_editing");
|
||||
const shouldSelectHistory = (editingEnabled && e.altKey) || !editingEnabled;
|
||||
const shouldEditLastMessage = editingEnabled && !e.altKey && up && !RoomViewStore.getQuotingEvent();
|
||||
const shouldSelectHistory = e.altKey;
|
||||
const shouldEditLastMessage = !e.altKey && up && !RoomViewStore.getQuotingEvent();
|
||||
|
||||
if (shouldSelectHistory) {
|
||||
// Try select composer history
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue