|
|
@ -36,8 +36,8 @@ A client asks a server to invite a user by their third party identifier.
|
|
|
|
Server behaviour
|
|
|
|
Server behaviour
|
|
|
|
----------------
|
|
|
|
----------------
|
|
|
|
|
|
|
|
|
|
|
|
All homeservers MUST verify the signature in the ``signed`` property of the
|
|
|
|
All homeservers MUST verify the signature in the event's
|
|
|
|
``third_party_invite`` property in the ``content`` the event.
|
|
|
|
``content.third_party_invite.signed`` object.
|
|
|
|
|
|
|
|
|
|
|
|
If a client of the current homeserver is joining by an
|
|
|
|
If a client of the current homeserver is joining by an
|
|
|
|
``m.room.third_party_invite``, that homesever MUST validate that the public
|
|
|
|
``m.room.third_party_invite``, that homesever MUST validate that the public
|
|
|
@ -94,9 +94,8 @@ For example:
|
|
|
|
When the third party user validates their identity, they are told about the
|
|
|
|
When the third party user validates their identity, they are told about the
|
|
|
|
invite, and ask their homeserver, H3, to join the room.
|
|
|
|
invite, and ask their homeserver, H3, to join the room.
|
|
|
|
|
|
|
|
|
|
|
|
H3 validates that signature in the ``signed`` property of the
|
|
|
|
H3 validates the signature in the event's
|
|
|
|
``third_party_invite`` property of the ``content`` property of the event,
|
|
|
|
``content.third_party_invite.signed`` object.
|
|
|
|
and may check ``key_validity_url``.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
H3 then asks H1 to join it to the room. H1 *must* validate the ``signed``
|
|
|
|
H3 then asks H1 to join it to the room. H1 *must* validate the ``signed``
|
|
|
|
property *and* check ``key_validity_url``.
|
|
|
|
property *and* check ``key_validity_url``.
|
|
|
|