Updates usage of resolve_remote_id
This commit is contained in:
@ -162,7 +162,7 @@ def handle_remote_webfinger(query):
|
||||
if link.get('rel') == 'self':
|
||||
try:
|
||||
user = activitypub.resolve_remote_id(
|
||||
models.User, link['href']
|
||||
link['href'], model=models.User
|
||||
)
|
||||
except KeyError:
|
||||
return None
|
||||
|
Reference in New Issue
Block a user