mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-31 20:22:26 -05:00
update timeline with new posts as they come in
This commit is contained in:
parent
5acca2a735
commit
ab7db633d0
8 changed files with 200 additions and 16 deletions
|
|
@ -278,7 +278,7 @@ func (p *processor) AccountFollowersGet(authed *oauth.Auth, targetAccountID stri
|
|||
|
||||
followers := []gtsmodel.Follow{}
|
||||
accounts := []apimodel.Account{}
|
||||
if err := p.db.GetFollowersByAccountID(targetAccountID, &followers); err != nil {
|
||||
if err := p.db.GetFollowersByAccountID(targetAccountID, &followers, false); err != nil {
|
||||
if _, ok := err.(db.ErrNoEntries); ok {
|
||||
return accounts, nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue