[Bug] Posts marked read don't remain read on refresh

When marking a post as read or expanding the post preview, the post only displays as read until the feed refreshes. A post opened in its own view remains read (expected behavior).

First appearance: Lemmy 0.19.5

9 points · 4 comments · view on lemmy.world

4 Comments

idunnololz@lemmy.world · 2 pts · 2y (3 replies)

Thanks for the report! I'm looking into it now.

idunnololz@lemmy.world · 2 pts · 2y (2 replies)

I found the cause. It looks like there was a breaking change to the mark_as_read endpoints in v0.19.5 in order to support a list of posts as opposed to a single post. I'll look into a fix.

shnizmuffin@lemmy.inbutts.lol · 2 pts · 2y (1 reply)

Let me guess, it was a String and now it's an Array of Strings.

idunnololz@lemmy.world · 1 pts · 2y

Yep. It also name changed from post_id to post_ids