kopia lustrzana https://github.com/ihabunek/toot
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
rodzic
11bc102cc8
commit
44b6f9fcf4
|
@ -274,8 +274,9 @@ def print_notification(notification: Notification):
|
||||||
|
|
||||||
def print_notifications(notifications: List[Notification]):
|
def print_notifications(notifications: List[Notification]):
|
||||||
for notification in notifications:
|
for notification in notifications:
|
||||||
print_divider()
|
if notification.type not in ['pleroma:emoji_reaction']:
|
||||||
print_notification(notification)
|
print_divider()
|
||||||
|
print_notification(notification)
|
||||||
print_divider()
|
print_divider()
|
||||||
|
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue