More useful block-state information in embeds (#1150)
* More useful block-state information in embeds * Tune copy
This commit is contained in:
@@ -18,16 +18,23 @@ export function describeModerationCause(
|
||||
}
|
||||
if (cause.type === 'blocking') {
|
||||
return {
|
||||
name: 'Blocked User',
|
||||
name: 'User Blocked',
|
||||
description: 'You have blocked this user. You cannot view their content.',
|
||||
}
|
||||
}
|
||||
if (cause.type === 'blocked-by') {
|
||||
return {
|
||||
name: 'Blocking You',
|
||||
name: 'User Blocking You',
|
||||
description: 'This user has blocked you. You cannot view their content.',
|
||||
}
|
||||
}
|
||||
if (cause.type === 'block-other') {
|
||||
return {
|
||||
name: 'Content Not Available',
|
||||
description:
|
||||
'This content is not available because one of the users involved has blocked the other.',
|
||||
}
|
||||
}
|
||||
if (cause.type === 'muted') {
|
||||
if (cause.source.type === 'list') {
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user