mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 20:27:28 -06:00
implement streaming notifications
This commit is contained in:
parent
a3d3cd8d43
commit
03a6f387e2
9 changed files with 152 additions and 29 deletions
|
|
@ -975,6 +975,7 @@ func (ps *postgresService) GetPublicTimelineForAccount(accountID string, maxID s
|
|||
q := ps.conn.Model(&statuses).
|
||||
Where("visibility = ?", gtsmodel.VisibilityPublic).
|
||||
Where("? IS NULL", pg.Ident("in_reply_to_id")).
|
||||
Where("? IS NULL", pg.Ident("in_reply_to_uri")).
|
||||
Where("? IS NULL", pg.Ident("boost_of_id")).
|
||||
Order("status.id DESC")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue