summaryrefslogtreecommitdiff
path: root/mastoapi.c
diff options
context:
space:
mode:
authorGravatar grunfink2025-06-11 19:54:07 +0200
committerGravatar grunfink2025-06-11 19:54:07 +0200
commit699d22a86438a93a12e802e4c39c44416b4ab4a0 (patch)
treecccd2d4794dd1d19d1cdc2aae6fdad0ee6bb64a0 /mastoapi.c
parentUpdated documentation. (diff)
downloadpenes-snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.tar.gz
penes-snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.tar.xz
penes-snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.zip
mastoapi: reverted reblog id, as it was breaking things.
Diffstat (limited to 'mastoapi.c')
-rw-r--r--mastoapi.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/mastoapi.c b/mastoapi.c
index 2c86ff9..19aa610 100644
--- a/mastoapi.c
+++ b/mastoapi.c
@@ -1134,10 +1134,6 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
1134 bst = xs_dict_set(bst, "content", ""); 1134 bst = xs_dict_set(bst, "content", "");
1135 bst = xs_dict_set(bst, "reblog", st); 1135 bst = xs_dict_set(bst, "reblog", st);
1136 1136
1137 /* reblogs must have their own id */
1138 xs *b_id = xs_fmt("%s%s", xs_dict_get(st, "id"), boosted_by_md5);
1139 bst = xs_dict_set(bst, "id", b_id);
1140
1141 xs_free(st); 1137 xs_free(st);
1142 st = bst; 1138 st = bst;
1143 } 1139 }