Return nil instead of panic in unimplemented streams functions
All checks were successful
the build was successful

This commit is contained in:
Peter Stuifzand 2018-12-30 08:44:38 +01:00
parent 691012307b
commit de23038cf9
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -325,9 +325,11 @@ func (timeline *redisStreamTimeline) Count() (int, error) {
} }
func (timeline *redisStreamTimeline) MarkRead(uids []string) error { func (timeline *redisStreamTimeline) MarkRead(uids []string) error {
panic("implement me") // panic("implement me")
return nil
} }
func (timeline *redisStreamTimeline) MarkUnread(uids []string) error { func (timeline *redisStreamTimeline) MarkUnread(uids []string) error {
panic("implement me") // panic("implement me")
return nil
} }