!NasysSDfxKxZBzJJoE:matrix.org

#matrix-spec

110 Members
Discussion of specific Matrix Spec Change proposals | https://matrix.org/docs/spec/proposals | Design draft folder at: https://drive.google.com/drive/folders/0B4wHq8qP86r2ck15MHEwMmlNVUk 69 Servers

Load older messages


SenderMessageTime
25 Sep 2020
@sumner:sumnerevans.comSumner Evans How do you handle when two mods/admins from different servers change a state event on a room in a conflicting way? Specifically thinking about MSC1951 and wondering about how conflicts in the the m.pack.metadata event gets handled. Is timestamp used to determine who wins? 15:40:28
@tulir:maunium.nettulirhttps://matrix.org/docs/spec/rooms/v215:41:51
@jboi:jboi.nlJonathan
In reply to @sumner:sumnerevans.com
How do you handle when two mods/admins from different servers change a state event on a room in a conflicting way? Specifically thinking about MSC1951 and wondering about how conflicts in the the m.pack.metadata event gets handled. Is timestamp used to determine who wins?
reverse topological event ordering, its a bit of a mouthful, but it basically makes sure that when reconciling forks from 2 servers (this one and another one) together into one "state", it'll make sure that it happens "in order"
15:43:08
@jboi:jboi.nlJonathanthe specifics of this are a bit confusing, but basically; matrix sorts it out, eventually15:43:21
26 Sep 2020
@concord:fuwafuwatime.moe0xC0ncord left the room.20:08:21
25 Sep 2020
@jboi:jboi.nlJonathan matrix always has a state for a room, a "state key" pointing to a specific auth event describing the content of that state, the stateres (state resolution) algorithm (since room version 2) makes sure that every server arrives to the same state, given the same DAG tree of events 15:44:57
@jboi:jboi.nlJonathanhttps://matrix.org/docs/guides/implementing-stateres here's an overview of how its implemented, an introduction post15:46:20
@sumner:sumnerevans.comSumner EvansThanks for the info! So, effectively if there's a divergence in the DAG, it gets "zippered" together according to power level, timestamp, and event_id?15:53:11
@jboi:jboi.nlJonathanyup15:55:57
@jboi:jboi.nlJonathanusually this happens all the time, and matrix just sends a "merge" commit/node/event which just refers to the two last un-linked events in both forks15:56:27
@jboi:jboi.nlJonathanbut for stateres its a bit more complex15:56:38
@jboi:jboi.nlJonathanyou can see a nice illustration of this on matrix.org's homepage15:56:58
@jboi:jboi.nlJonathan(scroll down to "how does it work?")15:57:10
@sumner:sumnerevans.comSumner EvansThanks for the explanation!16:21:48
@jboi:jboi.nlJonathannp ^^16:27:48
26 Sep 2020
@dagmar:hive-mind.networkdagmar joined the room.07:54:07
@kathleen:kde.orgkathleen 09:46:27
@freenode_MichaelRaskin:matrix.orgMichaelRaskin joined the room.08:15:53
27 Sep 2020
@freenode_MichaelRaskin:matrix.orgMichaelRaskin left the room.04:22:18
28 Sep 2020
@dylanger:matrix.orgDylanger joined the room.10:07:15
@mtrnord:nordgedanken.devMTRNordHm not 100% sure if this is a spec question but cant think of a better place to ask. There isnt yet a way to use matrix as a auth provider for a third party service right? Meaning using it as something like oauth2 stuff where a Matrix HS would be used as auth provider. 21:45:09
@travis:t2l.ioTravisRnot yet, but it's a work in progress: https://github.com/turt2live/matrix-oauth21:46:36
@travis:t2l.ioTravisRthe idea behind that project is after it's been prototyped on its own then it can be made into an MSC21:46:54
@mtrnord:nordgedanken.devMTRNord TravisR: ah cool :) Does that one need to run on HS side or on the project side? 🤔 Basicly I want to use it to easily add Admins to a small thingy around matrix to have a auth around a admin page. 21:49:30
@travis:t2l.ioTravisRit runs in the middle somewhere, where someone (which may be the project) runs the thing and it magically works21:51:13
@mtrnord:nordgedanken.devMTRNord * TravisR: ah cool :) Does that one need to run on HS side or on the project side? 🤔 Basicly I want to use it to easily add Admins to a small thingy around matrix to have a auth around a admin page. 21:51:25
@mtrnord:nordgedanken.devMTRNordah thats awesome :D that simplifies loads of stuff on my side. Lets see if I can integrate that easily in my project :)21:52:09
29 Sep 2020
@david:typokign.comTypo Kign left the room.09:01:01
@mscbot:amorgan.xyzmscbot[MSC2788] "MSC2788: Room version 6 as the default room version" has now entered final comment period!: https://github.com/matrix-org/matrix-doc/pull/278818:10:35
@kb1rd:kb1rd.netKB1RD MSC1772 says that group membership is determined by peeking into the rooms. How does this work if the group and rooms are invite only? 22:17:59

There are no newer messages yet.


Back to Room List