Drop Pleroma Emoji Reactions

I made this a list so you can add other types to drop easily but if
this is premature generalization we could make it a scalar instead.
This commit is contained in:
Sandra Snan 2023-12-24 12:14:48 +01:00 committed by Ivan Habunek
parent 11bc102cc8
commit 44b6f9fcf4
No known key found for this signature in database
GPG Key ID: F5F0623FF5EBCB3D
1 changed files with 3 additions and 2 deletions

View File

@ -274,8 +274,9 @@ def print_notification(notification: Notification):
def print_notifications(notifications: List[Notification]):
for notification in notifications:
print_divider()
print_notification(notification)
if notification.type not in ['pleroma:emoji_reaction']:
print_divider()
print_notification(notification)
print_divider()