Don't show menu items requiring auth when not authenticated for detailed statuses

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak 2021-12-11 21:51:10 +01:00
parent 8a863d7587
commit f52b69ebbb

View file

@ -337,6 +337,7 @@ class ActionBar extends React.PureComponent {
});
}
if (me) {
menu.push(null);
if (ownAccount) {
@ -456,6 +457,7 @@ class ActionBar extends React.PureComponent {
});
}
}
}
const canShare = ('share' in navigator) && status.get('visibility') === 'public';