diff options
Diffstat (limited to 'src/lib/moderation.ts')
-rw-r--r-- | src/lib/moderation.ts | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/lib/moderation.ts b/src/lib/moderation.ts index 70c4444fe..a90c4dc9c 100644 --- a/src/lib/moderation.ts +++ b/src/lib/moderation.ts @@ -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 { |