From 541bf1c63beee962ad941d04e02acf11ad2f2c0e Mon Sep 17 00:00:00 2001
From: Thomas Sileo
Date: Wed, 27 Jun 2018 23:27:48 +0200
Subject: [PATCH] Fix the CSS for the following page
---
README.md | 2 +-
activitypub.py | 7 -------
templates/following.html | 4 +++-
3 files changed, 4 insertions(+), 9 deletions(-)
diff --git a/README.md b/README.md
index 5d11155..56897d1 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@
-
+
diff --git a/activitypub.py b/activitypub.py
index 0b0d8a3..dd86e6c 100644
--- a/activitypub.py
+++ b/activitypub.py
@@ -273,13 +273,6 @@ class MicroblogPubBackend(Backend):
if obj:
self._handle_replies_delete(as_actor, obj)
- # FIXME(tsileo): handle threads
- # obj = delete._get_actual_object()
- # if obj.type_enum == ActivityType.NOTE:
- # obj._delete_from_threads()
-
- # TODO(tsileo): also purge the cache if it's a reply of a published activity
-
@ensure_it_is_me
def outbox_delete(self, as_actor: ap.Person, delete: ap.Delete) -> None:
DB.outbox.update_one(
diff --git a/templates/following.html b/templates/following.html
index 83e8b0d..0e6efb4 100644
--- a/templates/following.html
+++ b/templates/following.html
@@ -9,7 +9,9 @@
{% for followed in following_data %}
- {{ utils.display_actor(followed) }}
+
+ {{ utils.display_actor_inline(followed, size=80) }}
+
{% endfor %}