diff --git a/app/main.py b/app/main.py index 74d2989..6362f70 100644 --- a/app/main.py +++ b/app/main.py @@ -75,7 +75,6 @@ _RESIZED_CACHE: MutableMapping[tuple[str, int], tuple[bytes, str, Any]] = LFUCac # TODO(ts): # # Next: -# - allow to undo follow requests # - indieauth tweaks # - API for posting notes # - allow to block servers diff --git a/app/templates/utils.html b/app/templates/utils.html index e821739..100eb36 100644 --- a/app/templates/utils.html +++ b/app/templates/utils.html @@ -197,6 +197,7 @@
  • {{ admin_profile_button(actor.ap_id) }}
  • {% elif metadata.is_follow_request_sent %}
  • follow request sent
  • +
  • {{ admin_undo_button(metadata.outbox_follow_ap_id, "undo follow") }}
  • {% else %}
  • {{ admin_follow_button(actor) }}
  • {% endif %}