!DeRvyHqkqkIBbBtwsO:matrix.org

Homeserver Developers

350 Members
If you are building a homeserver, or you want to talk to other people that build homeservers, then this is the place for you! 🥳142 Servers

Load older messages


SenderMessageTime
17 Mar 2020
@neilalexander:matrix.org@neilalexander:matrix.org I'm going to nolint:gocyclo that SQLite StoreEvent for now and worry about breaking out the new room vs existing room path later 14:36:32
@kegan:matrix.orgKegansgtm14:38:55
@neilalexander:matrix.org@neilalexander:matrix.org Is the assumption that using /_matrix/federation/v1/invite instead of /_matrix/federation/v2/invite would always be for a v1 room, since there is no other field that suggests otherwise? 16:24:29
@neilalexander:matrix.org@neilalexander:matrix.org The spec states that it should assume v1 or v2 but not sure how you are supposed to know that until receiving the m.room.create state event 16:25:14
@travis:t2l.ioTravisRI have a feeling the spec is missing docs on the parameter for a /v2 invite16:28:01
@travis:t2l.ioTravisRfor a room_version parameter*16:28:18
@neilalexander:matrix.org@neilalexander:matrix.org The v2 endpoint shows the room_version field, which is fine 16:29:05
@neilalexander:matrix.org@neilalexander:matrix.org But it feels a bit messy to assume that v1's lack of room_version could be one or other of room version 1 or 2 16:29:55
@travis:t2l.ioTravisRah, that's because of a legacy thing: we had v1 and v2 already then needed to do something for v3 rooms because of the event ID format change.16:32:00
@travis:t2l.ioTravisRAuthorization should still work the same for v1 and v216:32:15
@travis:t2l.ioTravisRAlso one day we'll deprecate /v1 and tell peopel to use /v216:32:40
@travis:t2l.ioTravisR * Also one day we'll deprecate /v1 and tell people to use /v216:33:32
@neilalexander:matrix.org@neilalexander:matrix.org I'll maybe just suggest that Dendrite removes the implementation of /v1 then in favour of /v2 16:34:25
@travis:t2l.ioTravisRoh: the other thing is that invites to a server that's already in a room shows up over /send not /invite16:35:27
@travis:t2l.ioTravisR * oh: the other thing is that invites to a server that's already in a room show up over /send not /invite16:35:34
@travis:t2l.ioTravisRI think?16:35:52
@travis:t2l.ioTravisRno, that doesn't make sense because both servers need to sign it16:36:08
@travis:t2l.ioTravisRnevermind. 16:36:12
@travis:t2l.ioTravisR(but they would know the room version)16:36:21
18 Mar 2020
@bwindels:matrix.orgBruno joined the room.11:52:53
@neilalexander:vector.modular.imneilalexander (NV) joined the room.15:17:36
19 Mar 2020
@neilalexander:matrix.org@neilalexander:matrix.org For /send_join 10:19:34
@neilalexander:matrix.org@neilalexander:matrix.org The spec is unclear, should state be resolved state (as in, no duplicate state-key tuples) or can it contain duplicates? 10:19:52
@neilalexander:matrix.org@neilalexander:matrix.orgMy feeling is it should be the former 10:20:00
@neilalexander:matrix.org@neilalexander:matrix.org * The spec is unclear, should state in the response be resolved state (as in, no duplicate state-key tuples) or can it contain duplicates? 10:21:12
@richvdh:sw1v.orgrichvdhyeah it should be the resolved state of the room at the join event10:28:20
@richvdh:sw1v.orgrichvdhthe joining server lacks enough info to resolve the state10:28:31
@neilalexander:matrix.org@neilalexander:matrix.orgAlright, dendrite can currently leak duplicate state-keys which looks bad, so I will fix that10:29:00
@neilalexander:matrix.org@neilalexander:matrix.orgWhich brings me onto another question of why federated room joins aren't a three-way handshake10:29:09
@neilalexander:matrix.org@neilalexander:matrix.org As right now it's possible to make_join fine, then send_join, then the joined server is happy and shows the user as now in the room but the joining server is unhappy about something in the state response and doesn't show as joined 10:29:50

Show newer messages


Back to Room ListRoom Version: 5