Ver Fonte

mastoapi: reverted reblog id, as it was breaking things.

grunfink há 1 ano atrás
pai
commit
699d22a864
1 ficheiros alterados com 0 adições e 4 exclusões
  1. 0 4
      mastoapi.c

+ 0 - 4
mastoapi.c

@@ -1134,10 +1134,6 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
             bst = xs_dict_set(bst, "content", "");
             bst = xs_dict_set(bst, "reblog", st);
 
-            /* reblogs must have their own id */
-            xs *b_id = xs_fmt("%s%s", xs_dict_get(st, "id"), boosted_by_md5);
-            bst = xs_dict_set(bst, "id", b_id);
-
             xs_free(st);
             st = bst;
         }