Make it clearer

pull/977/head
Erik Johnston 9 years ago
parent 4b24b887c7
commit 80bb51d9bb

@ -1,20 +1,19 @@
Room History Visibility Room History Visibility
======================= =======================
The visibility of events to users before they joined can be controlled by the Whether a member of a room can see the events that happened in a room from
``m.room.history_visibility`` state event. before they joined the room is controlled by the ``history_visibility`` key
of the ``m.room.history_visibility`` state event. The valid values for
More specifically, the string value of the content key ``history_visibility`` ``history_visibility`` are:
controls the visibility of events. The valid values are:
- ``shared`` - ``shared``
- ``invited`` - ``invited``
- ``joined`` - ``joined``
By default, ``history_visibility`` is set to ``shared``. By default if no ``history_visibility`` is set it is assumed to be ``shared``.
The rules governing whether a user is allowed to see an event depend solely on The rules governing whether a user is allowed to see an event depend solely on
the state at that event: the state of the room at that event:
1. If the user was joined, allow. 1. If the user was joined, allow.
2. If the user was invited and the ``history_visibility`` was set to 2. If the user was invited and the ``history_visibility`` was set to

Loading…
Cancel
Save