mirror of
https://github.com/muesli/telephant
synced 2024-11-23 03:43:10 +00:00
Retrieve 40 notifications & posts initially
This commit is contained in:
parent
673c72ec2e
commit
a8951b1a46
1 changed files with 3 additions and 3 deletions
|
@ -14,8 +14,8 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
initialFeedCount = 200
|
||||
initialNotificationsCount = 50
|
||||
initialFeedCount = 40
|
||||
initialNotificationsCount = 40
|
||||
)
|
||||
|
||||
// Account is a Mastodon account for Chirp.
|
||||
|
@ -105,7 +105,7 @@ func (mod *Account) Run(eventChan chan interface{}) {
|
|||
}
|
||||
|
||||
tt, err := mod.client.GetTimelineHome(context.Background(), &mastodon.Pagination{
|
||||
Limit: initialNotificationsCount,
|
||||
Limit: initialFeedCount,
|
||||
})
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in a new issue