From 7a59d401f64fd6d1fd3c1c97b4c822b2bb2a0442 Mon Sep 17 00:00:00 2001 From: Kegan Dougal Date: Mon, 9 Feb 2015 09:17:55 +0000 Subject: [PATCH] Fix syntax errors --- drafts/as-http-api.rst | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/drafts/as-http-api.rst b/drafts/as-http-api.rst index 0d040868..0dfb6ca7 100644 --- a/drafts/as-http-api.rst +++ b/drafts/as-http-api.rst @@ -337,7 +337,7 @@ normal users who attempt to create users or alises *inside* an application service-defined namespace will receive the same ``M_EXCLUSIVE`` error code. ID conventions ``[Draft]`` -------------------------- +-------------------------- .. NOTE:: - Giving HSes the freedom to namespace still feels like the Right Thing here. - Exposing a public API provides the consistency which was the main complaint @@ -418,6 +418,7 @@ Pre-conditions: - Home server has the domain "hsdomain.com" 1. Application service registration + :: AS -> HS: Registers itself with the home server @@ -444,12 +445,14 @@ Pre-conditions: } 2. IRC user "Bob" says "hello?" on "#matrix" at timestamp 1421416883133: + :: - AS stores message as potential scrollback. - Nothing happens as no Matrix users are in the room. 3. Matrix user "@alice:hsdomain.com" wants to join "#matrix": + :: User -> HS: Request to join "#irc.freenode.net/#matrix:hsdomain.com" @@ -484,6 +487,7 @@ Pre-conditions: - HS sends room information back to client. 4. @alice:hsdomain.com says "hi!" in this room: + :: User -> HS: Send message "hi!" in room !aasaasasa:hsdomain.com @@ -512,6 +516,7 @@ Pre-conditions: 5. IRC user "Bob" says "what's up?" on "#matrix" at timestamp 1421418084816: + :: IRC -> AS: "what's up?"