11 Jan 2020 |
KB1RD | Is there a way to force someone to join a room through an alias? | 18:55:17 |
KB1RD | I’m thinking of a use case like invite codes on discord. I.e, if somebody would want to restrict people who already know a room’s ID from joining. You could always just keep changing aliases, but if the room ID is “out there,” you’re kinda screwed | 18:58:29 |
tulir | you can't join through an alias | 18:59:52 |
tulir | aliases are a way to get the room id and a list of servers to join through | 19:00:08 |
KB1RD | Still, it seems there could be a need for something like invite codes | 19:02:18 |
tulir | single-use invite codes already technically exist, but they aren't exposed in the UI | 19:03:37 |
tulir | (only exposed for email invites) | 19:03:53 |
tulir | expanding that to not be specific to the useless email use case would be good | 19:04:15 |
tulir | probably needs some MSC | 19:04:26 |
Sorunome | why can't you /invite those people? | 19:13:35 |
tulir | KB1RD: as a temporary solution, a bot and maybe a website would be fairly simple | 19:15:39 |
KB1RD | In reply to @sorunome:sorunome.de why can't you /invite those people? Well, let’s say I want to stick a link in a company-wide email rather than inviting many people by hand | 19:17:02 |
Sorunome | aaaah, yes, makes sense | 19:17:18 |
KB1RD | I don’t need it yet, but I just noticed that Riot seemed to be lacking a clean “share link” UI | 19:17:44 |
KB1RD | In reply to @tulir:maunium.net single-use invite codes already technically exist, but they aren't exposed in the UI Is this the third_party_invite in the invite state? | 19:19:51 |
tulir | yeah | 19:20:08 |
tulir | not sure if it can be used for single-use invite links already or if it needs a MSC | 19:20:30 |
tulir | at least multi-use links will need a MSC I think | 19:20:38 |
KB1RD | Can’t those not be redacted, though? | 19:21:19 |
tulir | riot doesn't expose the UI for removing them, but they can of course be removed | 19:21:46 |
| * KB1RD considers a MSC... | 19:22:18 |
Cadair | In reply to @tulir:maunium.net not sure if it can be used for single-use invite links already or if it needs a MSC I thought about this a little a few months ago, I am pretty sure it would need an MSC | 19:45:59 |
KB1RD | On a side note, is it possible to set power levels for invited people? | 19:53:55 |
tulir | you can set power levels for anyone | 19:56:13 |
12 Jan 2020 |
Brendan Abolivier | Quick question about the IS API spec, is there an "upgrade guide" for the v1->v2 endpoints? It's quite frustrating to have a working v1 implementation and to have to play spot the differences between two block of texts to figure out what you need to change to support the v2 endpoint | 17:32:57 |
Brendan Abolivier | * Quick question about the IS API spec, is there an "upgrade guide" for the v1->v2 endpoints? It's quite frustrating to have a working v1 implementation and to have to play spot the difference between two block of texts to figure out what you need to change to support the v2 endpoint | 17:33:51 |
TravisR | "add authentication". There's no formal guide, but clicking through the changelog should get you to the relevant changes
| 18:08:30 |
Brendan Abolivier | kk. The deprecation warning says that there are other changes than just auth, but doesn't give more info about that. I'm currently going through commits (though much more annoying and time-consuming than a 1-line long note for each endpoint that differs from its v1) | 18:40:41 |
Brendan Abolivier | * kk. The deprecation warning says that there are other changes than just auth, but doesn't give more info about that. I'm currently going through commits (though much more annoying and time-consuming than a having 1-line long note for each endpoint that differs from its v1) | 18:41:02 |
Brendan Abolivier | (like https://matrix.org/docs/spec/server_server/unstable#put-matrix-federation-v2-invite-roomid-eventid for example) | 18:41:22 |