mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 10:52:26 -06:00
tidy + lint
This commit is contained in:
parent
a25e53af4e
commit
f1eb6476f3
6 changed files with 24 additions and 12 deletions
|
|
@ -32,7 +32,6 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
preparedPostsMinLength = 80
|
||||
desiredPostIndexLength = 400
|
||||
)
|
||||
|
||||
|
|
@ -205,7 +204,7 @@ func (m *manager) getOrCreateTimeline(timelineAccountID string) Timeline {
|
|||
var t Timeline
|
||||
i, ok := m.accountTimelines.Load(timelineAccountID)
|
||||
if !ok {
|
||||
t = NewTimeline(timelineAccountID, m.db, m.tc)
|
||||
t = NewTimeline(timelineAccountID, m.db, m.tc, m.log)
|
||||
m.accountTimelines.Store(timelineAccountID, t)
|
||||
} else {
|
||||
t, ok = i.(Timeline)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue