diff --git a/res/css/views/context_menus/_MessageContextMenu.scss b/res/css/views/context_menus/_MessageContextMenu.scss index dde68e8bad..90a1c58ee3 100644 --- a/res/css/views/context_menus/_MessageContextMenu.scss +++ b/res/css/views/context_menus/_MessageContextMenu.scss @@ -111,6 +111,6 @@ limitations under the License. } .mx_MessageContextMenu_jumpToEvent::before { - mask-image: url('$(res)/img/element-icons/left-arrow.svg'); + mask-image: url('$(res)/img/element-icons/child-relationship.svg'); } } diff --git a/res/img/element-icons/child-relationship.svg b/res/img/element-icons/child-relationship.svg new file mode 100644 index 0000000000..5a848c0d97 --- /dev/null +++ b/res/img/element-icons/child-relationship.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/res/img/element-icons/left-arrow.svg b/res/img/element-icons/left-arrow.svg deleted file mode 100644 index 557efbebd2..0000000000 --- a/res/img/element-icons/left-arrow.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/components/views/context_menus/MessageContextMenu.tsx b/src/components/views/context_menus/MessageContextMenu.tsx index f77ead6f76..725065e95d 100644 --- a/src/components/views/context_menus/MessageContextMenu.tsx +++ b/src/components/views/context_menus/MessageContextMenu.tsx @@ -499,7 +499,7 @@ export default class MessageContextMenu extends React.Component let jumpToRelatedEventButton: JSX.Element; const relatedEventId = mxEvent.getWireContent()?.["m.relates_to"]?.event_id; - if (relatedEventId) { + if (relatedEventId && SettingsStore.getValue("developerMode")) { jumpToRelatedEventButton = (