diff options
author | default <nobody@localhost> | 2023-08-12 09:43:01 +0200 |
---|---|---|
committer | default <nobody@localhost> | 2023-08-12 09:43:01 +0200 |
commit | 499697258d2c266be69dc13dae96083fc78cd3ef (patch) | |
tree | 9339a03de6c31cf4c30f4e6269815825fc561544 /mastoapi.c | |
parent | b5cab5bddda32c758e9a944371c055de13d8d55a (diff) |
Rewritten is_msg_public() to not depend on a user.
Diffstat (limited to 'mastoapi.c')
-rw-r--r-- | mastoapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -658,7 +658,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg) st = xs_dict_append(st, "content", xs_dict_get(msg, "content")); st = xs_dict_append(st, "visibility", - is_msg_public(snac, msg) ? "public" : "private"); + is_msg_public(msg) ? "public" : "private"); tmp = xs_dict_get(msg, "sensitive"); if (xs_is_null(tmp)) |