Show per-app actor in follow notifications on Hub
Add app_domain to APNotification model and NotificationDTO so follow notifications display "followed you on blog" instead of just "followed you" when the follow targets a per-app actor. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</span>
|
||||
|
||||
{% if notif.notification_type == "follow" %}
|
||||
<span class="text-stone-600">followed you</span>
|
||||
<span class="text-stone-600">followed you{% if notif.app_domain and notif.app_domain != "federation" %} on {{ notif.app_domain }}{% endif %}</span>
|
||||
{% elif notif.notification_type == "like" %}
|
||||
<span class="text-stone-600">liked your post</span>
|
||||
{% elif notif.notification_type == "boost" %}
|
||||
|
||||
Reference in New Issue
Block a user