Add webfinger support for the lookup, fix forwarding

This commit is contained in:
Thomas Sileo
2018-07-21 11:41:49 +02:00
parent f05eb559f0
commit 4a22ac12a8
4 changed files with 61 additions and 5 deletions

1
app.py
View File

@@ -689,6 +689,7 @@ def tmp_migrate5():
def tmp_migrate6():
for activity in DB.activities.find():
# tasks.cache_actor.delay(activity["remote_id"], also_cache_attachments=False)
try:
a = ap.parse_activity(activity["activity"])
if a.has_type([ActivityType.LIKE, ActivityType.FOLLOW]):