Implement /_matrix/client/v3/notifications #707

Open
opened 2025-03-12 10:40:22 +00:00 by filipesmedeiros · 5 comments
filipesmedeiros commented 2025-03-12 10:40:22 +00:00 (Migrated from github.com)

Hello! Thanks for the amazing work :)

I hope I'm not doing something wrong. I have the server running. I can federate. Everything is good!

Except notifications. They are a bit unstable/inconsistent. And I'm trying to check if it's some configuration I have wrong.

When I curl https://chat.filipesm.eu/_matrix/client/v3/notifications, I get the {"errcode":"M_UNRECOGNIZED","error":"M_UNRECOGNIZED: Not Found"} response. I think delegation is working because https://chat.filipesm.eu/_matrix/federation/v1/version (for example) works.

Am I doing something wrong?

Thanks!

Hello! Thanks for the amazing work :) I hope I'm not doing something wrong. I have the server running. I can federate. Everything is good! Except notifications. They are a bit unstable/inconsistent. And I'm trying to check if it's some configuration I have wrong. When I curl `https://chat.filipesm.eu/_matrix/client/v3/notifications`, I get the `{"errcode":"M_UNRECOGNIZED","error":"M_UNRECOGNIZED: Not Found"}` response. I think delegation is working because `https://chat.filipesm.eu/_matrix/federation/v1/version` (for example) works. Am I doing something wrong? Thanks!
girlbossceo commented 2025-03-12 12:43:19 +00:00 (Migrated from github.com)

We simply don't implement the endpoint at the moment.

We simply don't implement the endpoint at the moment.
filipesmedeiros commented 2025-03-12 12:49:23 +00:00 (Migrated from github.com)

Aha that sounds about right. Feel free to close this if you want :) Thanks!

Aha that sounds about right. Feel free to close this if you want :) Thanks!
Owner

Would be nice to get this one implemented at some point but im not aware of a client outside of cinny that uses this endpoint

Would be nice to get this one implemented at some point but im not aware of a client outside of cinny that uses this endpoint
Owner

Element has a lab for it but it's disabled by default, and they're not enabling it soon as it doesn't work well with e2ee

Element has a lab for it but it's disabled by default, and they're not enabling it soon as it doesn't work well with e2ee
Owner

There is a grapevine MR open for this: https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/180/diffs

Might be worth taking a look at and seeing if we can implement a similar structure.
Olivia mentioned that there's an issue with pushers:

push rules are evaluated per-pusher, which is the wrong semantics for /notifications

Unsure if we're affected by that

There is a grapevine MR open for this: https://gitlab.computer.surgery/matrix/grapevine/-/merge_requests/180/diffs Might be worth taking a look at and seeing if we can implement a similar structure. Olivia mentioned that there's an issue with pushers: > push rules are evaluated per-pusher, which is the wrong semantics for /notifications Unsure if we're affected by that
nex unlocked this conversation 2026-01-29 15:47:23 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
continuwuation/continuwuity#707
No description provided.