Tweak the admin UI

This commit is contained in:
Thomas Sileo
2018-07-14 12:14:08 +02:00
parent feb611f4ce
commit d8f7967e6a
6 changed files with 46 additions and 21 deletions

View File

@@ -37,6 +37,9 @@ def process_new_activity(self, iri: str) -> None:
activity = ap.fetch_remote_activity(iri)
log.info(f"activity={activity!r}")
# Is the activity expected?
# following = ap.get_backend().following()
tag_stream = False
if activity.has_type(ap.ActivityType.ANNOUNCE):
tag_stream = True