Open matrixbot opened 8 years ago
Jira watchers: @dbkr @ara4n
Sounds like folks are happy with this idea, given we can already put arbitrary data on the events which /are/ allowed, it's not a big deal to let arbitrary events in general... as long as:
a) clients consider the info as purely informational (ie not trust it as actual data from the room, given at best it will be a stale cache thereof) b) and not rely on it for the core behaviour of the client - it would really suck if invites became fragmented and my generic matrix client couldn't meaningfully accept them without understanding random associated events.
Personally I would be much happier if we instead encouraged the invitee to peek into the invited room to inspect the real state of what they were being invited to, rather than this weird fake stale version of the state, but given that boat has already sailed I'm not sure it makes things much worse to provide the requested flexibility here and allow arbitrary events in the invite.
-- @ara4n
I don't see how including this information is useful really, if the client can't trust it for anything (and therefore can't reasonably display it to the user, at least not without also displaying a warning) - especially in this case which is where the user is actually making a trust decision.
Is it really too late to mandate peeking for invite metadata? There's a sensible migration path since we can continue to include the metadata in the invite in the transition period.
-- @dbkr
A request from [~Rugvip] is to support the ability to include arbitrary metadata in invites, so that clients can perform business logic on the invite without having to accept it. The given example is:
(Imported from https://matrix.org/jira/browse/SPEC-357)
(Reported by @ara4n)