From 215b625d813672c8f9e9cac49e87217c9cdeddd2 Mon Sep 17 00:00:00 2001 From: Will Date: Fri, 29 Jan 2021 10:27:55 -0800 Subject: [PATCH] Replace csv table with GFM table --- data/event-schemas/schema/m.room.member.yaml | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/data/event-schemas/schema/m.room.member.yaml b/data/event-schemas/schema/m.room.member.yaml index e3abdb0c..181c5737 100644 --- a/data/event-schemas/schema/m.room.member.yaml +++ b/data/event-schemas/schema/m.room.member.yaml @@ -31,18 +31,13 @@ description: |- from the `prev_content` object on an event. If not present, the user's previous membership must be assumed as `leave`. - .. TODO: Improve how this table is written? We use a csv-table to get around vertical header restrictions. - - .. csv-table:: - :header-rows: 1 - :stub-columns: 1 - - "","to `invite`","to `join`","to `leave`","to `ban`","to `knock`" - "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." + | | to `invite` | to `join` | to `leave` | to `ban` | to `knock` | + |-------------------|---------------------|----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------|------------------| + | **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: content: