2017-01-09 13:00:55 +00:00
|
|
|
object false
|
|
|
|
|
2017-02-06 22:16:20 +00:00
|
|
|
node(:meta) do
|
2017-01-09 13:00:55 +00:00
|
|
|
{
|
|
|
|
access_token: @token,
|
|
|
|
locale: I18n.locale,
|
|
|
|
me: current_account.id,
|
2017-04-11 14:10:16 +00:00
|
|
|
boost_modal: current_account.user.setting_boost_modal,
|
2017-01-09 13:00:55 +00:00
|
|
|
}
|
2017-02-06 22:16:20 +00:00
|
|
|
end
|
2017-01-09 13:00:55 +00:00
|
|
|
|
2017-02-06 22:16:20 +00:00
|
|
|
node(:compose) do
|
2017-01-09 13:00:55 +00:00
|
|
|
{
|
|
|
|
me: current_account.id,
|
2017-02-06 22:16:20 +00:00
|
|
|
default_privacy: current_account.user.setting_default_privacy,
|
2017-01-09 13:00:55 +00:00
|
|
|
}
|
2017-02-06 22:16:20 +00:00
|
|
|
end
|
2017-01-09 13:00:55 +00:00
|
|
|
|
2017-02-06 22:16:20 +00:00
|
|
|
node(:accounts) do
|
2017-01-09 13:00:55 +00:00
|
|
|
{
|
|
|
|
current_account.id => partial('api/v1/accounts/show', object: current_account),
|
|
|
|
}
|
2017-02-06 22:16:20 +00:00
|
|
|
end
|
2017-01-09 13:00:55 +00:00
|
|
|
|
|
|
|
node(:settings) { @web_settings }
|