[fix] Display emoji reaction notifications in notifications timeline

This commit is contained in:
AkiraFukushima 2022-08-14 22:05:01 +09:00
parent 3286ea7ee4
commit 19842822e1
No known key found for this signature in database
GPG Key ID: B6E51BAC4DE1A957
2 changed files with 12 additions and 1 deletions

View File

@ -95,6 +95,17 @@
@select="$emit('selectNotification')"
>
</StatusReaction>
<StatusReaction
v-else-if="message.type === 'emoji_reaction'"
:message="message"
:filters="filters"
:focused="focused"
:overlaid="overlaid"
reactionType="emoji-reaction"
@focusRight="$emit('focusRight')"
@select="$emit('selectNotification')"
>
</StatusReaction>
</div>
</template>

View File

@ -183,7 +183,7 @@ export default defineComponent({
return 'notification.poll_vote.body'
case 'quote':
return 'notification.quote.body'
case 'reaction':
case 'emoji-reaction':
return 'notification.reaction.body'
case 'reblog':
return 'notification.reblog.body'