Compare commits

..

No commits in common. "15b1324df280c87f6496da07cab056f7d2809360" and "f4698aa4dc339c14325aede556b162c8c1f539bd" have entirely different histories.

View file

@ -11,12 +11,12 @@ cache = LRUCache(1024)
def person_check(actor, software): def person_check(actor, software):
## pleroma and akkoma may use Person for the actor type for some reason ## pleroma and akkoma use Person for the actor type for some reason
if software in {'akkoma', 'pleroma'} and actor.id == f'https://{actor.domain}/relay': if software in {'akkoma', 'pleroma'} and actor.id != f'https://{actor.domain}/relay':
return False return True
## make sure the actor is an application ## make sure the actor is an application
if actor.type != 'Application': elif actor.type != 'Application':
return True return True