diff options
Diffstat (limited to 'webfinger.c')
| -rw-r--r-- | webfinger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c index 5db9a97..dc0855a 100644 --- a/webfinger.c +++ b/webfinger.c @@ -93,7 +93,7 @@ int webfinger_request_signed(snac *snac, const char *qs, xs_str **actor, xs_str if (user != NULL) { const char *subject = xs_dict_get(obj, "subject"); - if (subject) + if (subject && xs_startswith(subject, "acct:")) *user = xs_replace_n(subject, "acct:", "", 1); } |