[backend/akko-client] Expose quote notifications as mention notifications
This is a bit difficult of a situation as Akkoma does not have quote notifications. This is the closest thing we have and the frontend seems to handle it well.
This commit is contained in:
parent
356f5f17ed
commit
6d8c686401
1 changed files with 3 additions and 1 deletions
|
@ -25,12 +25,14 @@ public class NotificationEntity : IEntity
|
||||||
NotificationType.Mention => "mention",
|
NotificationType.Mention => "mention",
|
||||||
NotificationType.Reply => "mention",
|
NotificationType.Reply => "mention",
|
||||||
NotificationType.Renote => "reblog",
|
NotificationType.Renote => "reblog",
|
||||||
NotificationType.Quote => "status",
|
|
||||||
NotificationType.Like => "favourite",
|
NotificationType.Like => "favourite",
|
||||||
NotificationType.PollEnded => "poll",
|
NotificationType.PollEnded => "poll",
|
||||||
NotificationType.FollowRequestReceived => "follow_request",
|
NotificationType.FollowRequestReceived => "follow_request",
|
||||||
NotificationType.Edit => "update",
|
NotificationType.Edit => "update",
|
||||||
|
|
||||||
|
NotificationType.Quote when isPleroma => "mention",
|
||||||
|
NotificationType.Quote when !isPleroma => "status",
|
||||||
|
|
||||||
NotificationType.Reaction when isPleroma => "pleroma:emoji_reaction",
|
NotificationType.Reaction when isPleroma => "pleroma:emoji_reaction",
|
||||||
NotificationType.Reaction when !isPleroma => "reaction",
|
NotificationType.Reaction when !isPleroma => "reaction",
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue