StatusActionBar: hide DM menu item unless privacyScopes are enabled
This commit is contained in:
parent
32b6c646cf
commit
f751104c0f
1 changed files with 1 additions and 1 deletions
|
@ -444,7 +444,7 @@ const StatusActionBar: React.FC<IStatusActionBar> = ({
|
|||
action: handleChatClick,
|
||||
icon: require('@tabler/icons/messages.svg'),
|
||||
});
|
||||
} else {
|
||||
} else if (features.privacyScopes) {
|
||||
menu.push({
|
||||
text: intl.formatMessage(messages.direct, { name: username }),
|
||||
action: handleDirectClick,
|
||||
|
|
Loading…
Reference in a new issue