Merge pull request #3205 from bookwyrm-social/revert-3079-deleted_user_follow_request

Revert "Don't show notification for user follow request if the user is inactive"
This commit is contained in:
Mouse Reeve 2024-01-08 10:28:27 -08:00 committed by GitHub
commit a4599d0374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,9 +10,7 @@
{% elif notification.notification_type == 'FOLLOW' %} {% elif notification.notification_type == 'FOLLOW' %}
{% include 'notifications/items/follow.html' %} {% include 'notifications/items/follow.html' %}
{% elif notification.notification_type == 'FOLLOW_REQUEST' %} {% elif notification.notification_type == 'FOLLOW_REQUEST' %}
{% if notification.related_users.0.is_active %}
{% include 'notifications/items/follow_request.html' %} {% include 'notifications/items/follow_request.html' %}
{% endif %}
{% elif notification.notification_type == 'IMPORT' %} {% elif notification.notification_type == 'IMPORT' %}
{% include 'notifications/items/import.html' %} {% include 'notifications/items/import.html' %}
{% elif notification.notification_type == 'USER_IMPORT' %} {% elif notification.notification_type == 'USER_IMPORT' %}