about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/account/components
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-05-03 09:09:09 +0200
committerGitHub <noreply@github.com>2022-05-03 09:09:09 +0200
commit7e244879feaa8de9894e1147ff49a7e762fe462a (patch)
tree4db69d15f2cfd395b317fe7aa254a10c1d57edf8 /app/javascript/mastodon/features/account/components
parentaed1c47cb15ac6fc62da9ff479d639244b5b1443 (diff)
Change "Conversations" back to "Direct messages" and add warning in web UI (#18289)
Partially reverts #18146
Diffstat (limited to 'app/javascript/mastodon/features/account/components')
-rw-r--r--app/javascript/mastodon/features/account/components/header.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/features/account/components/header.js b/app/javascript/mastodon/features/account/components/header.js
index 83dc8d9b8..2830bee29 100644
--- a/app/javascript/mastodon/features/account/components/header.js
+++ b/app/javascript/mastodon/features/account/components/header.js
@@ -177,6 +177,7 @@ class Header extends ImmutablePureComponent {
 
     if (account.get('id') !== me) {
       menu.push({ text: intl.formatMessage(messages.mention, { name: account.get('username') }), action: this.props.onMention });
+      menu.push({ text: intl.formatMessage(messages.direct, { name: account.get('username') }), action: this.props.onDirect });
       menu.push(null);
     }