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

Lemmy.world Support

3212 readers
19 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


You can also DM https://lemmy.world/u/lwreport or email [email protected] (PGP Supported) if you need to reach our directly to the admin team.


Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world



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!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 5 months 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 5 months ago* (last edited 5 months 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 5 months 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 5 months 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 5 months ago (1 children)

curious, what do you mean by checking them?

[โ€“] [email protected] 1 points 5 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.