|
|
@ -405,15 +405,15 @@ The rules are as follows:
|
|
|
|
|
|
|
|
|
|
|
|
#. If ``mxid`` does not match ``state_key``, reject.
|
|
|
|
#. If ``mxid`` does not match ``state_key``, reject.
|
|
|
|
|
|
|
|
|
|
|
|
#. If no ``m.room.third_party_invite`` event in current state with
|
|
|
|
#. If there is no ``m.room.third_party_invite`` event in the
|
|
|
|
``state_key`` matching ``token``, reject.
|
|
|
|
current room state with ``state_key`` matching ``token``, reject.
|
|
|
|
|
|
|
|
|
|
|
|
#. If ``sender`` does not match ``sender`` of third party invite,
|
|
|
|
#. If ``sender`` does not match ``sender`` of the
|
|
|
|
reject.
|
|
|
|
``m.room.third_party_invite``, reject.
|
|
|
|
|
|
|
|
|
|
|
|
#. If any signature in ``signed`` matches any public key in the
|
|
|
|
#. If any signature in ``signed`` matches any public key in the
|
|
|
|
``m.room.third_party_invite``, allow. The public keys are in
|
|
|
|
``m.room.third_party_invite`` event, allow. The public keys are
|
|
|
|
``content`` of ``m.room.third_party_invite`` as:
|
|
|
|
in ``content`` of ``m.room.third_party_invite`` as:
|
|
|
|
|
|
|
|
|
|
|
|
#. A single public key in the ``public_key`` field.
|
|
|
|
#. A single public key in the ``public_key`` field.
|
|
|
|
#. A list of public keys in the ``public_keys`` field.
|
|
|
|
#. A list of public keys in the ``public_keys`` field.
|
|
|
|