Fix _is_read

This commit is contained in:
Peter Stuifzand 2018-03-28 01:28:20 +02:00
parent 37329ffd8d
commit 6730ebd982

View File

@ -177,7 +177,7 @@ func (b *memoryBackend) TimelineGet(after, before, channel string) microsub.Time
// Filter items with "published" date
for _, r := range results {
r["_read"] = b.wasRead(channel, r)
r["_is_read"] = b.wasRead(channel, r)
if uid, e := r["uid"]; e {
r["_id"] = uid
}