Przeglądaj źródła

Mastoapi: fixed an error the edited_at field.

default 2 lat temu
rodzic
commit
49d707078b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      mastoapi.c

+ 1 - 1
mastoapi.c

@@ -993,7 +993,7 @@ xs_dict *mastoapi_status(snac *snac, const xs_dict *msg)
         tmp = fd2;
     }
 
-    st = xs_dict_append(st, "edited_at", fd2);
+    st = xs_dict_append(st, "edited_at", tmp);
 
     if (strcmp(type, "Question") == 0) {
         xs *poll = mastoapi_poll(snac, msg);