-
Notifications
You must be signed in to change notification settings - Fork 378
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
Homeserver Warning Messages #1452
Comments
I believe that both options should be applied, each in its own case. |
Thanks @KitsuneRal : have moved comments onto the doc. |
I've nominated a set of options on the doc: moving this into 'ready to review' to gather any remaining feedback. |
Seems like a sensible conclusion to me. I wonder if we should just put it "in review" though given it's on the hot path. |
Yeah, probably. |
Is the tag going to be |
@KitsuneRal I've accepted half-shot's correction which should fix this |
AFAIK we haven't yet told clients to render any event with a This raises another problem, that using a {
"type": "m.room.message",
"content": {
"body": "This is a server notice",
"msgtype": "m.server_notice",
"server_notice_type": "m.resource_limit",
"resource": "users",
"limit": 50,
"current": 49
}
} Or something. |
Personally, I think this should be a state event, as this feels exactly the sort of thing that state should be used for. However, we don't currently spec if or how clients should render state changes that they don't understand, so wouldn't work for clients that didn't implement the exact event types. In which case its probably the right call not to use it for now. |
Using msgtypes makes me eternally sad, as I really think we should just get extensible events (#1225) out the door before another event falls victim to not being displayed correctly. If we're looking to get this through for r0 though, I'll still be sad about msgtype, but won't fight it (as it makes sense). |
Yeah, but I think it would be even worse if we started "randomly" making up rules as we went along. |
In the meantime, while we still don't have extensible events, there's no difference for me as a client author between an entirely new type of events (no matter state or not); it will be rendered as "Unknown event" by Quaternion, and I need to actually add support of that new type before it does anything sensible. Meanwhile |
I spent a bit of time to check that the implementation and proposal vaguely match and I think they do. it also looks like the implementation went the route of using an With the assumption that the proposal can be updated: @mscbot fcp merge |
Team member @turt2live has proposed to merge this. The next step is review by the rest of the tagged people: Concerns:
Once a majority of reviewers approve (and none object), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
@mscbot concern so what does "past month" mean, in the end? Given that the MSC's documenting the current behaviour, I'd really appreciate if the question about what "past month" means be resolved before accepting it. And yeah, the practice of hastily drafting MSCs in parallel with implementation and the actual spec PR dragging behind in half a year is less and less acceptable. |
@mscbot resolve what uhoreg said |
@mscbot resolve so what does "past month" mean, in the end? |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. |
I believe the implementations for this are over at: |
As per [MSC1452](#1452) Fixes #1254 Although MSC1452 focuses on just the warnings part of the server notices, the base for notices has not been established in the spec. This commit adds the needed support to be able to handle notices. No intentional divergences from the proposal are included in this changeset. There are a few additions which are used in practice although not defined in the proposal, such as who is responsible for aesthetics, sending notices, and other misc rules.
As per [MSC1452](#1452) Fixes #1254 Although MSC1452 focuses on just the warnings part of the server notices, the base for notices has not been established in the spec. This commit adds the needed support to be able to handle notices. No intentional divergences from the proposal are included in this changeset. There are a few additions which are used in practice although not defined in the proposal, such as who is responsible for aesthetics, sending notices, and other misc rules.
Spec PR: #2026 |
merged 🎉 |
Documentation: https://docs.google.com/document/d/1R_a1zi5qRe06D6D3fNZaKTqQSyaKcQT2Ejt4kImt6yo/edit#
The text was updated successfully, but these errors were encountered: