1
0
mirror of https://github.com/funamitech/mastodon synced 2024-11-25 07:37:16 +09:00

Fix forgotten to include language attribute in statuses JSON (#3209)

This commit is contained in:
Eugen Rochko 2017-05-21 21:38:09 +02:00 committed by GitHub
parent 7fba4cb3d1
commit a478af92c3

View File

@ -1,4 +1,6 @@
attributes :id, :created_at, :in_reply_to_id, :in_reply_to_account_id, :sensitive, :spoiler_text, :visibility
attributes :id, :created_at, :in_reply_to_id,
:in_reply_to_account_id, :sensitive,
:spoiler_text, :visibility, :language
node(:uri) { |status| TagManager.instance.uri_for(status) }
node(:content) { |status| Formatter.instance.format(status) }