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!
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.
You nailed it. Thank you! That was driving me g me a little crazy 🤪.
It’s possibly a moderated comment.
Sometimes it’s a DM or mention.
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 @[email protected] 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.
Looks like [email protected] 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!
I’ve submitted a PR to fix this, it might still make it into 0.19.4.
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.
curious, what do you mean by checking them?
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
- Watch this YouTube video (Piped mirror)
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.
I had that for a long time. I honestly don’t know when it got fixed or how.