summaryrefslogtreecommitdiff
path: root/webfinger.c
diff options
context:
space:
mode:
Diffstat (limited to 'webfinger.c')
-rw-r--r--webfinger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/webfinger.c b/webfinger.c
index e9f0893..6476bba 100644
--- a/webfinger.c
+++ b/webfinger.c
@@ -82,7 +82,7 @@ int webfinger_request(char *qs, char **actor, char **user)
char *v;
while (xs_list_iter(&list, &v)) {
- if (xs_type(v) == XSTYPE_SOD) {
+ if (xs_type(v) == XSTYPE_DICT) {
char *type = xs_dict_get(v, "type");
if (type && strcmp(type, "application/activity+json") == 0) {