Skip to content

Commit

Permalink
Merge pull request #1687 from FreeFeed/fix-notification-message
Browse files Browse the repository at this point in the history
Fix a moderation notification messages
  • Loading branch information
davidmz authored Jul 3, 2024
2 parents d734c45 + 6a233f7 commit 71abe06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/notifications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,19 +331,19 @@ const notificationTemplates = {
{event.group_id && (
<>
{' '}
from the group <UserLink user={event.group} />
from the <UserLink user={event.group} /> group
</>
)}
</>
),
post_moderated_by_another_admin: (event) => (
<>
<UserLink atStart user={event.createdUser} /> has removed{' '}
{postLink(event, { fallback: 'the post' })} from <UserLink user={event.affectedUser} />
{postLink(event, { fallback: 'the post' })}
{event.group_id && (
<>
{' '}
from the group <UserLink user={event.group} />
from the <UserLink user={event.group} /> group
</>
)}
</>
Expand Down

0 comments on commit 71abe06

Please sign in to comment.