diff --git a/app/soapbox/features/notifications/components/notification.js b/app/soapbox/features/notifications/components/notification.js index 3703f13f0..73fa00629 100644 --- a/app/soapbox/features/notifications/components/notification.js +++ b/app/soapbox/features/notifications/components/notification.js @@ -150,7 +150,7 @@ class Notification extends ImmutablePureComponent {
- +
@@ -158,6 +158,13 @@ class Notification extends ImmutablePureComponent {
+ +
+ +
); } @@ -310,7 +317,7 @@ class Notification extends ImmutablePureComponent { case 'pleroma:emoji_reaction': return this.renderEmojiReact(notification, link); case 'pleroma:chat_mention': - return this.renderChatMention(notification); + return this.renderChatMention(notification, link); } return null; diff --git a/app/soapbox/reducers/notifications.js b/app/soapbox/reducers/notifications.js index cbf9ef5d5..e49d5dc11 100644 --- a/app/soapbox/reducers/notifications.js +++ b/app/soapbox/reducers/notifications.js @@ -43,6 +43,7 @@ const notificationToMap = notification => ImmutableMap({ created_at: notification.created_at, status: notification.status ? notification.status.id : null, emoji: notification.emoji, + chat_message: notification.chat_message, is_seen: get(notification, ['pleroma', 'is_seen'], true), });