riot-meta icon indicating copy to clipboard operation
riot-meta copied to clipboard

Invites can now return a error code of M_UNSUPPORTED_ROOM_VERSION

Open erikjohnston opened this issue 6 years ago • 3 comments

I don't know if anything needs to change on the clients to correctly handle these errors, other than possibly ensuring that any custom error message makes sense for invites (rather than just room creation).

See https://github.com/matrix-org/matrix-doc/pull/1866

erikjohnston avatar Feb 23 '19 14:02 erikjohnston

Hi @erikjohnston do you think we can get an invite for such a room to do some test? CC @manuroe

bmarty avatar Feb 25 '19 09:02 bmarty

This is when sending the invite, rather than receiving the invite. (Also, the synapse PR hasn't yet landed https://github.com/matrix-org/synapse/pull/4721 )

erikjohnston avatar Feb 25 '19 09:02 erikjohnston

Right, so if I invite @ bob:oldserver.com, and oldserver.com doesn't support your fancy new room version, then this error will be in the synchronous response I get back from this request.

lampholder avatar Feb 25 '19 09:02 lampholder