diff options
| author | 2025-06-11 19:54:07 +0200 | |
|---|---|---|
| committer | 2025-06-11 19:54:07 +0200 | |
| commit | 699d22a86438a93a12e802e4c39c44416b4ab4a0 (patch) | |
| tree | cccd2d4794dd1d19d1cdc2aae6fdad0ee6bb64a0 | |
| parent | Updated documentation. (diff) | |
| download | snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.tar.gz snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.tar.xz snac2-699d22a86438a93a12e802e4c39c44416b4ab4a0.zip | |
mastoapi: reverted reblog id, as it was breaking things.
| -rw-r--r-- | mastoapi.c | 4 |
1 files changed, 0 insertions, 4 deletions
| @@ -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 | } |