Skip to content

Commit

Permalink
refs #1018 Add notification type reaction
Browse files Browse the repository at this point in the history
  • Loading branch information
h3poteto committed Sep 27, 2023
1 parent 464c7ef commit b2ccdf1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/timelines/notification/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ const notification = (props: Props) => {
case 'status':
case 'update':
case 'emoji_reaction':
case 'reaction':
if (props.notification.status) {
return (
<Reaction
Expand Down
1 change: 1 addition & 0 deletions src/utils/notification.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const generateNotification = (
formatMessage({ id: 'timeline.notification.update.body' }, { user: notification.account.acct })
]
case 'emoji_reaction':
case 'reaction':
return [
formatMessage({ id: 'timeline.notification.emoji_reaction.title' }),
formatMessage({ id: 'timeline.notification.emoji_reaction.body' }, { user: notification.account.acct })
Expand Down

0 comments on commit b2ccdf1

Please sign in to comment.