{% if unread %}
All posts
@@ -106,8 +109,20 @@
{% endif %}
+ {# Direct messages — conversation threads #}
+ {% if tab == "direct" %}
+ {% if conversations and conversations.length > 0 %}
+
+ {% for conv in conversations %}
+ {% include "partials/ap-dm-thread.njk" %}
+ {% endfor %}
+
+ {% else %}
+ {{ prose({ text: "No direct messages yet." }) }}
+ {% endif %}
+
{# Timeline items with read tracking #}
- {% if items.length > 0 %}
+ {% elif items.length > 0 %}