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.
pull/452/head
Sandra Snan 2023-12-24 12:14:48 +01:00 zatwierdzone przez Ivan Habunek
rodzic 11bc102cc8
commit 44b6f9fcf4
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: F5F0623FF5EBCB3D
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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()