mirror of
https://github.com/funamitech/mastodon
synced 2024-12-23 02:58:34 +09:00
9 lines
366 B
Ruby
9 lines
366 B
Ruby
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 }
|