I thought something was causing people to double post more recently, but after testing voting on some examples, I’m pretty sure posts are getting duplicated by the app.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    Yeah, has happened for me multiple times, too, since installing 0.0.67.

    I’m guessing, this happens when it loads new posts, but the order of the posts has changed on the server. Maybe something broke with how it keeps track of the cursor-thingy for the API?

  • MV [Jerboa dev]
    link
    fedilink
    arrow-up
    9
    ·
    5 months ago

    Alright, looked into it. There was indeed a bug where it did the initial posts request by page and the subsequent by page_cursor. But this has been there for a while. Pre 67 we used to deduplicate every post returned by Lemmy. So it was masking that bug. I didn’t think the deduplication was still necessary with page_cursor, so it was removed. If it still frequently happens after this fix. I’ll add it back.