Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 488baba

Browse files
Release message right-click context menu out of labs (#8613)
1 parent 3eecd68 commit 488baba

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

src/components/views/rooms/EventTile.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -854,9 +854,6 @@ export class UnwrappedEventTile extends React.Component<IProps, IState> {
854854
private showContextMenu(ev: React.MouseEvent, permalink?: string): void {
855855
const clickTarget = ev.target as HTMLElement;
856856

857-
// Return if message right-click context menu isn't enabled
858-
if (!SettingsStore.getValue("feature_message_right_click_context_menu")) return;
859-
860857
// Try to find an anchor element
861858
const anchorElement = (clickTarget instanceof HTMLAnchorElement) ? clickTarget : clickTarget.closest("a");
862859

src/i18n/strings/en_EN.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,6 @@
899899
"Right panel stays open (defaults to room member list)": "Right panel stays open (defaults to room member list)",
900900
"Jump to date (adds /jumptodate and jump to date headers)": "Jump to date (adds /jumptodate and jump to date headers)",
901901
"Send read receipts": "Send read receipts",
902-
"Right-click message context menu": "Right-click message context menu",
903902
"Live Location Sharing (temporary implementation: locations persist in room history)": "Live Location Sharing (temporary implementation: locations persist in room history)",
904903
"Favourite Messages (under active development)": "Favourite Messages (under active development)",
905904
"Use new session manager (under active development)": "Use new session manager (under active development)",

src/settings/Settings.tsx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -406,13 +406,6 @@ export const SETTINGS: {[setting: string]: ISetting} = {
406406
displayName: _td("Send read receipts"),
407407
default: true,
408408
},
409-
"feature_message_right_click_context_menu": {
410-
isFeature: true,
411-
supportedLevels: LEVELS_FEATURE,
412-
labsGroup: LabGroup.Rooms,
413-
displayName: _td("Right-click message context menu"),
414-
default: false,
415-
},
416409
"feature_location_share_live": {
417410
isFeature: true,
418411
labsGroup: LabGroup.Messaging,

0 commit comments

Comments
 (0)