commit 2ec5814

default  ·  2023-04-16 05:34:26 +0000 UTC
parent cc48f25
Temporary fix to this account show error.
1 files changed,  +4, -0
+4, -0
 1@@ -722,6 +722,10 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
 2             xs *out   = NULL;
 3             xs *actor = NULL;
 4 
 5+            /* if uid it's the md5 of this actor, transform into a real uid */
 6+            if (strcmp(uid, snac1.md5) == 0)
 7+                uid = xs_dict_get(snac1.config, "uid");
 8+
 9             /* is it a local user? */
10             if (user_open(&snac2, uid)) {
11                 if (opt == NULL) {