MastoAPI: Fix reblog view.
authorRoger Braun <roger@rogerbraun.net>
Sun, 17 Sep 2017 12:25:34 +0000 (14:25 +0200)
committerRoger Braun <roger@rogerbraun.net>
Sun, 17 Sep 2017 12:25:34 +0000 (14:25 +0200)
lib/pleroma/web/mastodon_api/views/status_view.ex

index 66557cbca7aac5a467c121c44611f8036d035eed..cce4f7217e85e4c95f0e662af57dc74c10670f7f 100644 (file)
@@ -32,8 +32,8 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
       created_at: created_at,
       reblogs_count: 0,
       favourites_count: 0,
-      reblogged: 0,
-      favourited: 0,
+      reblogged: false,
+      favourited: false,
       muted: false,
       sensitive: false,
       spoiler_text: "",