Allow to undo pending follow requests

main
Thomas Sileo 2022-07-17 09:45:00 +02:00
parent e8dd1a549c
commit ca1248351d
2 changed files with 1 additions and 1 deletions

View File

@ -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

View File

@ -197,6 +197,7 @@
<li>{{ admin_profile_button(actor.ap_id) }}</li>
{% elif metadata.is_follow_request_sent %}
<li>follow request sent</li>
<li>{{ admin_undo_button(metadata.outbox_follow_ap_id, "undo follow") }}</li>
{% else %}
<li>{{ admin_follow_button(actor) }}</li>
{% endif %}