mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 11:31:08 +00:00
Reverse order of notification users lists
Should show newest first
This commit is contained in:
parent
3670ae46ec
commit
235e877b3d
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue