I mainly use the Mlem app, and today I got a notification that I had one new inbox item. When I checked my inbox, I saw that it was empty.

Before I submitted a big report, I wanted to see what happened on the lemmy.world website. As shown in the attached screenshot, it too shows one unread item, but nothing in the inbox.

So I’m led to believe this is an issue with the server. And if not, then at least I have done my due diligence before reporting this to the Lemmy devs.

In either case, is there anybody here who could help me get this resolved; or at least pointed in the right direction?

Thank you!

  • DABDA@lemm.ee
    link
    fedilink
    English
    arrow-up
    5
    ·
    6 months ago

    I would get that when I had bots disabled in settings and one would reply to me (usually the Piped link bot). After manually adding that specific bot to the block list that stopped happening.

  • Nothing4You@programming.dev
    link
    fedilink
    English
    arrow-up
    2
    ·
    6 months ago

    if you open https://lemmy.world/api/v3/user/unread_count after being logged in, it should at least tell you what kind of unread message it is.

    with that information it can probably be narrowed down a bit.

    i don’t think this is related to an inconsistency with blocked users, as that is only being fixed in 0.19.4 or 0.19.5: https://github.com/LemmyNet/lemmy/issues/4227

    moderated or deleted comments as mentioned by others don’t look like they would be the case when i’m looking at the 0.19.3 code.

    the bot reply mentioned by @DABDA@lemm.ee seems like a very plausible explanation, as bot accounts are hidden from the comment reply list in the api, but they’re not currently excluded from the notification count.

    i’ll have a look at whether that is still the case in the current development version in a bit and submit a pr to fix that if it is.

    • dohpaz42@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      6 months ago

      Looks like DABDA@lemm.ee was correct. It was the piped bot that replied to a video I posted in a comment. Once I enabled bot accounts, I was able to mark it read and disable the bot accounts option again.

      Thank you!

      • DABDA@lemm.ee
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 months ago

        Awesome, glad I was able to help!

        That bot has long been a thorn in my side, both due to that Lemmy bug but relatedly because I used to include Piped links with all my YT ones but the bot doesn’t(/didn’t?) check for them before replying anyway. I’ve never created a bot but I can’t imagine it’s more than like a single line to do a regex search for the exact link it intends to post and aborting if it’s found.

          • DABDA@lemm.ee
            link
            fedilink
            English
            arrow-up
            1
            ·
            6 months ago

            The Piped bot is checking comments for instances of a YouTube domain and video id (I don’t know specifically what it triggers on) and then replies with a link to that video id as a Piped-based one. But what it should also do is check if the initial comment also contains the Piped URL it’s about to post and then not reply with a duplicate of that same address.

            For example I’d post something like

            And the bot would reply offering the exact “Piped mirror” address I had already linked to. This would happen regardless of if I used custom link text or just left it as a raw URL so the bot clearly wasn’t doing a check of either method.