Retrieve 40 notifications & posts initially

This commit is contained in:
Christian Muehlhaeuser 2019-05-05 14:45:27 +02:00
parent 673c72ec2e
commit a8951b1a46
No known key found for this signature in database
GPG key ID: 3CF9FA45CA1EBB7E

View file

@ -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)