1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-28 21:48:28 +09:00
YuruToot/app/views/api/v1/accounts/relationship.rabl

10 lines
481 B
Plaintext
Raw Normal View History

object @account
attribute :id
node(:following) { |account| @following[account.id] || false }
node(:followed_by) { |account| @followed_by[account.id] || false }
node(:blocking) { |account| @blocking[account.id] || false }
node(:muting) { |account| @muting[account.id] || false }
node(:requested) { |account| @requested[account.id] || false }
node(:domain_blocking) { |account| @domain_blocking[account.id] || false }