From e82adc250fc201f8d4638a22207183a4ebdc780e Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Mon, 13 Jul 2020 14:28:03 -0500 Subject: [Privacy] Allow access to own replies --- .../flavours/glitch/features/account_timeline/components/header.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'app/javascript/flavours/glitch') diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.js b/app/javascript/flavours/glitch/features/account_timeline/components/header.js index de7a87a30..d7edd43ab 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/components/header.js +++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.js @@ -7,6 +7,7 @@ import ImmutablePureComponent from 'react-immutable-pure-component'; import { FormattedMessage } from 'react-intl'; import { NavLink } from 'react-router-dom'; import MovedNote from './moved_note'; +import { me } from 'flavours/glitch/util/initial_state'; export default class Header extends ImmutablePureComponent { @@ -124,6 +125,7 @@ export default class Header extends ImmutablePureComponent { {!hideTabs && (
+ { account.get('id') === me && () }
)} -- cgit