mirror of https://github.com/mastodon/mastodon
Fix notifications in UI, added new API for fetching account relationships
parent
4bec613897
commit
e46abc71ca
@ -1,2 +0,0 @@
|
|||||||
collection @accounts
|
|
||||||
extends('api/accounts/show')
|
|
@ -0,0 +1,5 @@
|
|||||||
|
collection @accounts
|
||||||
|
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 }
|
Loading…
Reference in New Issue