Make tweets a normal stream again
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2018-12-30 09:34:39 +01:00
parent de23038cf9
commit 2d1be88dd1
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -34,7 +34,7 @@ type redisStreamTimeline struct {
func (b *memoryBackend) getTimeline(channel string) TimelineBackend {
// TODO: fetch timeline type from channel
timelineType := "sorted-set"
if channel == "notifications" || channel == "tweets" {
if channel == "notifications" {
timelineType = "stream"
}
if timelineType == "sorted-set" {