mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-07 16:33:24 +00:00
3f9708edc4
Track relationship in redux state. Display follow/unfollow and following-back information on account view (unstyled)
6 lines
231 B
Ruby
6 lines
231 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 }
|