MastoAPI: Fix reblog emojis.

stable
Roger Braun 7 years ago
parent fd12e585c9
commit a1923d20e8

@ -46,7 +46,7 @@ defmodule Pleroma.Web.MastodonAPI.StatusView do
website: nil website: nil
}, },
language: nil, language: nil,
emoji: [] emojis: []
} }
end end

@ -103,5 +103,6 @@ defmodule Pleroma.Web.MastodonAPI.StatusViewTest do
assert represented[:id] == to_string(reblog.id) assert represented[:id] == to_string(reblog.id)
assert represented[:reblog][:id] == to_string(activity.id) assert represented[:reblog][:id] == to_string(activity.id)
assert represented[:emojis] == []
end end
end end

Loading…
Cancel
Save