sforkowany z mirror/soapbox
Merge branch 'chat-no-self-reports' into 'develop'
Do not let users report their own chat messages See merge request soapbox-pub/soapbox-fe!999profile-avatar-switcher
commit
70c79ce297
|
@ -268,12 +268,15 @@ class ChatMessageList extends ImmutablePureComponent {
|
|||
icon: require('@tabler/icons/icons/trash.svg'),
|
||||
destructive: true,
|
||||
},
|
||||
{
|
||||
];
|
||||
|
||||
if (chatMessage.get('account_id') !== me) {
|
||||
menu.push({
|
||||
text: intl.formatMessage(messages.report),
|
||||
action: this.handleReportUser(chatMessage.get('account_id')),
|
||||
icon: require('@tabler/icons/icons/flag.svg'),
|
||||
},
|
||||
];
|
||||
});
|
||||
}
|
||||
|
||||
return (
|
||||
<div
|
||||
|
|
|
@ -329,7 +329,7 @@
|
|||
"edit_federation.save": "Zapisz",
|
||||
"edit_federation.success": "Zaktualizowano federację {host}",
|
||||
"edit_federation.unlisted": "Wymuś oznaczanie wpisów jako niewypisane",
|
||||
"edit_profile.error": "Akktualizacja profilu nie powiodła się",
|
||||
"edit_profile.error": "Aktualizacja profilu nie powiodła się",
|
||||
"edit_profile.fields.accepts_email_list_label": "Zasubskrybuj newsletter",
|
||||
"edit_profile.fields.avatar_label": "Awatar",
|
||||
"edit_profile.fields.bio_label": "Opis",
|
||||
|
|
Ładowanie…
Reference in New Issue