Replace csv table with GFM table
This commit is contained in:
parent
873e8b30eb
commit
215b625d81
1 changed files with 7 additions and 12 deletions
|
@ -31,18 +31,13 @@ description: |-
|
||||||
from the `prev_content` object on an event. If not present, the user's previous membership must be assumed
|
from the `prev_content` object on an event. If not present, the user's previous membership must be assumed
|
||||||
as `leave`.
|
as `leave`.
|
||||||
|
|
||||||
.. TODO: Improve how this table is written? We use a csv-table to get around vertical header restrictions.
|
| | to `invite` | to `join` | to `leave` | to `ban` | to `knock` |
|
||||||
|
|-------------------|---------------------|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|------------------|
|
||||||
.. csv-table::
|
| **from `invite`** | No change. | User joined the room. | If the `state_key` is the same as the `sender`, the user rejected the invite. Otherwise, the `state_key` user had their invite revoked. | User was banned. | Not implemented. |
|
||||||
:header-rows: 1
|
| **from `join`** |Must never happen. | `displayname` or `avatar_url` changed. | If the `state_key` is the same as the `sender`, the user left. Otherwise, the `state_key` user was kicked. | User was kicked and banned. | Not implemented. |
|
||||||
:stub-columns: 1
|
| **from `leave`** |New invitation sent. | User joined. | No change. | User was banned. | Not implemented. |
|
||||||
|
| **from `ban`** |Must never happen. | Must never happen. | User was unbanned. | No change. | Not implemented. |
|
||||||
"","to `invite`","to `join`","to `leave`","to `ban`","to `knock`"
|
| **from `knock`** |Not implemented. | Not implemented. | Not implemented. | Not implemented. | Not implemented. |
|
||||||
"from `invite`","No change.","User joined the room.","If the `state_key` is the same as the `sender`, the user rejected the invite. Otherwise, the `state_key` user had their invite revoked.","User was banned.","Not implemented."
|
|
||||||
"from `join`","Must never happen.","`displayname` or `avatar_url` changed.","If the `state_key` is the same as the `sender`, the user left. Otherwise, the `state_key` user was kicked.","User was kicked and banned.","Not implemented."
|
|
||||||
"from `leave`","New invitation sent.","User joined.","No change.","User was banned.","Not implemented."
|
|
||||||
"from `ban`","Must never happen.","Must never happen.","User was unbanned.","No change.","Not implemented."
|
|
||||||
"from `knock`","Not implemented.","Not implemented.","Not implemented.","Not implemented.","Not implemented."
|
|
||||||
|
|
||||||
properties:
|
properties:
|
||||||
content:
|
content:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue