Reverse order of notification users lists

Should show newest first
This commit is contained in:
Mouse Reeve 2022-07-14 11:00:05 -07:00
parent 3670ae46ec
commit 235e877b3d

View file

@ -300,8 +300,10 @@ def notify_user_on_follow(sender, instance, created, *args, **kwargs):
notification.read = False notification.read = False
notification.save() notification.save()
else: else:
# Only group unread follows
Notification.notify( Notification.notify(
instance.user_object, instance.user_object,
instance.user_subject, instance.user_subject,
notification_type=Notification.FOLLOW, notification_type=Notification.FOLLOW,
read=False,
) )