Implement /_matrix/client/v3/notifications #707

Closed
opened 2025-03-12 10:40:22 +00:00 by filipesmedeiros · 7 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
Member

Hello, with MSC4451, it seems like there is reduced interest in implementing this endpoint anyways. Would you consider implementing it as a stub endpoint (e.g. returning data telling clients it's not supported)?

Hello, with [MSC4451](https://github.com/matrix-org/matrix-spec-proposals/pull/4451), it seems like there is reduced interest in implementing this endpoint anyways. Would you consider implementing it as a stub endpoint (e.g. returning data telling clients it's not supported)?
Owner

That's not how unsupported endpoints work. This FR is also not planned anymore (due to the linked MSC)

That's not how unsupported endpoints work. This FR is also not planned anymore (due to the linked MSC)
nex closed this issue 2026-08-17 02:42:01 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
4 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.