From d390ed418a70f9c267d839245467c9a830c0c1cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20K=C3=B6sters?= Date: Tue, 6 Sep 2022 12:53:34 +0200 Subject: [PATCH] MSC3883: Fundamental state changes --- proposals/3883-fundamental-state-changes.md | 27 +++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 proposals/3883-fundamental-state-changes.md diff --git a/proposals/3883-fundamental-state-changes.md b/proposals/3883-fundamental-state-changes.md new file mode 100644 index 00000000000..b50abf2d997 --- /dev/null +++ b/proposals/3883-fundamental-state-changes.md @@ -0,0 +1,27 @@ +# MSC3883: Fundamental state changes (Draft) + +## Problems + +1. Room Joins: + Joining rooms takes very long. Over 10 minutes are required to join Matrix HQ. + A room has a lot of state associated with it. Most of it needs to be + transferred, validated and persisted. + +2. State resolution: + It can be very expensive. Split brained rooms are tolerated, so similar + state resolutions have to be done over and over again. + +3. State events: + Setting your avatar will send state events with that picture into all + joined rooms. If you picked a wrong picture on accident, you can't undo it. + + +## Proposal + +- Only users with power level > 50 can send state events. + +- Memberships updates are coordinated using EDUs. + Each server is responsible for tracking kicks, bans etc. of its own users. + If a server abuses this, the server should be banned as a whole. + +- Displayname/Avatar updates should be EDUs that trigger a /profile query. While servers still fetch the picture, at least it is not in the timeline.