mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Temporary fix to this account show error.
This commit is contained in:
parent
cc48f25e98
commit
2ec58144ba
@ -722,6 +722,10 @@ int mastoapi_get_handler(const xs_dict *req, const char *q_path,
|
||||
xs *out = NULL;
|
||||
xs *actor = NULL;
|
||||
|
||||
/* if uid it's the md5 of this actor, transform into a real uid */
|
||||
if (strcmp(uid, snac1.md5) == 0)
|
||||
uid = xs_dict_get(snac1.config, "uid");
|
||||
|
||||
/* is it a local user? */
|
||||
if (user_open(&snac2, uid)) {
|
||||
if (opt == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user