Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Matrix bridge for new comment notifications. #26

Open
M4rtineski opened this issue Feb 14, 2025 · 5 comments
Open

Matrix bridge for new comment notifications. #26

M4rtineski opened this issue Feb 14, 2025 · 5 comments

Comments

@M4rtineski
Copy link
Contributor

M4rtineski commented Feb 14, 2025

For that one I think that instead of having a notification for each comment separately having it grouped and linking to community's new comments view would be much better. Something like:

5 new comments in [community] <link with comment view with new sort here> <date>

I also believe that some communities should be blacklisted altogether if they're active by default. Potentially accounts too like the directory bots for example. Ignoring bot accounts may be simpler though.

Thoughts?

@chris-y
Copy link
Contributor

chris-y commented Feb 14, 2025

New comments view:

https://{instance}/c/{community}?dataType=Comment&sort=New

@M4rtineski
Copy link
Contributor Author

Oh... Just realised that github messed with my message. Will fix that now.

@M4rtineski
Copy link
Contributor Author

I think that the task for this should run at a much lower frequency, maybe every 3 or 6 hours. The comments are much easier to get and if one post got traction then it would be better to have as much bundled as we can instead of having a notification every 30 minutes for a few hours straight.

The idea is just to not miss the comments in lower activity communities unlike with posts where we want to react asap in case it breaks community rules before it gets traction and makes it harder to go against the flow. Or simply in case of spam.

Personally I lean towards 6 hours or even 12 hours because I don't think it's that relevant to get up to 4 notifications for comments specifically.

@chris-y
Copy link
Contributor

chris-y commented Feb 15, 2025

Adding to this, I think a notification for comments under bot posts would be useful (replies to posts posted by x account).
This would add to the DMing of certain accounts.
I think Lemmy must have an API specifically for this as I think the Lemmy UI does this and the client I'm using.

@chris-y
Copy link
Contributor

chris-y commented Feb 15, 2025

OK, looks like there's an API for mentions and comment replies.
https://lemmy.readme.io/reference/get_user-mention
https://lemmy.readme.io/reference/get_user-replies

In 1.0 there's a combined inbox feature
https://join-lemmy.org/api/main#tag/Account/operation/ListInbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants