This commit is contained in:
parent
89a50821d4
commit
dc5f9883f2
|
|
@ -301,15 +301,15 @@ func (b *memoryBackend) TimelineGet(before, after, channel string) (microsub.Tim
|
||||||
conn := pool.Get()
|
conn := pool.Get()
|
||||||
defer conn.Close()
|
defer conn.Close()
|
||||||
|
|
||||||
|
items := []microsub.Item{}
|
||||||
|
|
||||||
log.Printf("TimelineGet %s\n", channel)
|
log.Printf("TimelineGet %s\n", channel)
|
||||||
feeds, err := b.FollowGetList(channel)
|
feeds, err := b.FollowGetList(channel)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return microsub.Timeline{}, err
|
return microsub.Timeline{Items: items}, err
|
||||||
}
|
}
|
||||||
log.Println(feeds)
|
log.Println(feeds)
|
||||||
|
|
||||||
var items []microsub.Item
|
|
||||||
|
|
||||||
zchannelKey := fmt.Sprintf("zchannel:%s:posts", channel)
|
zchannelKey := fmt.Sprintf("zchannel:%s:posts", channel)
|
||||||
|
|
||||||
afterScore := "-inf"
|
afterScore := "-inf"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user