diff --git a/drafts/object_model.rst b/drafts/object_model.rst index 9c558e35..1ae60b2c 100644 --- a/drafts/object_model.rst +++ b/drafts/object_model.rst @@ -1 +1,28 @@ -. + + + + +:: + + +---------------+ + | Room | + | "Room-ID" | + | {State} | +----------------------+ + | Name------|-------->| Event m.room.name | + | Topic | | "Name" | + | [Aliases] | +----------------------+ +-------------+ + | [Members]-|---+ +----------------------+ <----| Start Token | + | [Messages] | | | Event m.room.member | +-------------+ + | | | | +---->| "invite/join/ban" | + +---------------+ | "User-ID" | + | | +----------------------+ + | | +----------------------+ + | | Message | Event m.room.message | + | +-------------->| {content} |<--+ + | +----------------------+ | + | Comment +----------------------+ | + +------------------>| Event m.room.message | | + | {content} | | + | "relates-to"-------|---+ +-------------+ + +----------------------+ <----| End Token | + +-------------+