mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Temporary fix to this account show error.
This commit is contained in:
parent
cc48f25e98
commit
2ec58144ba
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue