mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-25 08:14:25 +01:00
toActor: don't require the nip05
Related: https://gitlab.com/soapbox-pub/ditto/-/issues/30
This commit is contained in:
@@ -12,7 +12,7 @@ const actorController: AppController = async (c) => {
|
||||
const event = await getAuthor(user.pubkey);
|
||||
if (!event) return notFound(c);
|
||||
|
||||
const actor = await toActor(event);
|
||||
const actor = await toActor(event, user.username);
|
||||
if (!actor) return notFound(c);
|
||||
|
||||
return activityJson(c, actor);
|
||||
|
||||
Reference in New Issue
Block a user