MastoAPI: Fix reblog emojis.
This commit is contained in:
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…
Reference in New Issue
Block a user