Reset read attribute for items
This commit is contained in:
parent
3fd42d7823
commit
110861a91f
|
@ -304,6 +304,7 @@ func (b *memoryBackend) TimelineGet(after, before, channel string) microsub.Time
|
|||
for _, obj := range itemJsons {
|
||||
item := microsub.Item{}
|
||||
json.Unmarshal(obj, &item)
|
||||
item.Read = b.checkRead(channel, item.Id)
|
||||
items = append(items, item)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user