summaryrefslogtreecommitdiff
path: root/internal/processing/account/alias.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/account/alias.go')
-rw-r--r--internal/processing/account/alias.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/internal/processing/account/alias.go b/internal/processing/account/alias.go
index d7d4cf547..ca27a518c 100644
--- a/internal/processing/account/alias.go
+++ b/internal/processing/account/alias.go
@@ -107,9 +107,14 @@ func (p *Processor) Alias(
}
// Ensure we have account dereferenced.
+ //
+ // As this comes from user input, allow checking
+ // by URL to make things easier, not just to an
+ // exact AP URI (which a user might not even know).
targetAccount, _, err := p.federator.GetAccountByURI(ctx,
account.Username,
newAKA.uri,
+ true,
)
if err != nil {
err := fmt.Errorf(