|
|
@ -1328,16 +1328,30 @@ the following list:
|
|
|
|
- ``state_key``
|
|
|
|
- ``state_key``
|
|
|
|
- ``prev_content``
|
|
|
|
- ``prev_content``
|
|
|
|
- ``content``
|
|
|
|
- ``content``
|
|
|
|
|
|
|
|
- ``hashes``
|
|
|
|
|
|
|
|
- ``signatures``
|
|
|
|
|
|
|
|
- ``depth``
|
|
|
|
|
|
|
|
- ``prev_events``
|
|
|
|
|
|
|
|
- ``prev_state``
|
|
|
|
|
|
|
|
- ``auth_events``
|
|
|
|
|
|
|
|
- ``origin``
|
|
|
|
|
|
|
|
- ``origin_server_ts``
|
|
|
|
|
|
|
|
- ``membership``
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.. Note:
|
|
|
|
|
|
|
|
Some of the keys, such as ``hashes``, will appear on the federation-formatted
|
|
|
|
|
|
|
|
event and therefore the client may not be aware of them.
|
|
|
|
|
|
|
|
|
|
|
|
The content object should also be stripped of all keys, unless it is one of
|
|
|
|
The content object should also be stripped of all keys, unless it is one of
|
|
|
|
one of the following event types:
|
|
|
|
one of the following event types:
|
|
|
|
|
|
|
|
|
|
|
|
- ``m.room.member`` allows key ``membership``
|
|
|
|
- ``m.room.member`` allows key ``membership``.
|
|
|
|
- ``m.room.create`` allows key ``creator``
|
|
|
|
- ``m.room.create`` allows key ``creator``.
|
|
|
|
- ``m.room.join_rules`` allows key ``join_rule``
|
|
|
|
- ``m.room.join_rules`` allows key ``join_rule``.
|
|
|
|
- ``m.room.power_levels`` allows keys ``ban``, ``events``, ``events_default``,
|
|
|
|
- ``m.room.power_levels`` allows keys ``ban``, ``events``, ``events_default``,
|
|
|
|
``kick``, ``redact``, ``state_default``, ``users``, ``users_default``.
|
|
|
|
``kick``, ``redact``, ``state_default``, ``users``, ``users_default``.
|
|
|
|
- ``m.room.aliases`` allows key ``aliases``
|
|
|
|
- ``m.room.aliases`` allows key ``aliases``.
|
|
|
|
|
|
|
|
- ``m.room.history_visibility`` allows key ``history_visibility``.
|
|
|
|
|
|
|
|
|
|
|
|
The server should add the event causing the redaction to the ``unsigned``
|
|
|
|
The server should add the event causing the redaction to the ``unsigned``
|
|
|
|
property of the redacted event, under the ``redacted_because`` key. When a
|
|
|
|
property of the redacted event, under the ``redacted_because`` key. When a
|
|
|
|