this post was submitted on 25 May 2024
29 points (96.8% liked)

Lemmy.world Support

3127 readers
43 users here now

Lemmy.world Support

Welcome to the official Lemmy.world Support community! Post your issues or questions about Lemmy.world here.

This community is for issues related to the Lemmy World instance only. For Lemmy software requests or bug reports, please go to the Lemmy github page.

This community is subject to the rules defined here for lemmy.world.

To open a support ticket Static Badge



founded 1 year ago
MODERATORS
 

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!

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 1 month ago (1 children)

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.

[–] dohpaz42 2 points 1 month ago

You nailed it. Thank you! That was driving me g me a little crazy 🤪.

[–] [email protected] 2 points 1 month ago (1 children)

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.

[–] dohpaz42 2 points 1 month ago* (last edited 1 month ago) (2 children)

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!

[–] [email protected] 4 points 1 month ago

I've submitted a PR to fix this, it might still make it into 0.19.4.

fyi @[email protected]

[–] [email protected] 2 points 1 month ago (1 children)

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.

[–] [email protected] 2 points 1 month ago (1 children)

curious, what do you mean by checking them?

[–] [email protected] 1 points 1 month 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.

[–] dr_jekell 2 points 1 month ago (1 children)

It's possibly a moderated comment.

[–] [email protected] 1 points 1 month ago

Sometimes it's a DM or mention.

[–] [email protected] 1 points 1 month ago

I had that for a long time. I honestly don’t know when it got fixed or how.