From 93e5170645d82a074746da11481304d42fb215fd Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Sun, 21 Jun 2020 12:16:24 +0200 Subject: Protocol fixes Thanks @lieuwex --- protocol.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/protocol.md b/protocol.md index aa6de82..4094b79 100644 --- a/protocol.md +++ b/protocol.md @@ -39,6 +39,8 @@ A _response_ from the server will be in one of the following forms: - ` error ` - The client's message was successfully parsed, but handling resulted in an error described in the message. +- ` name ` + - A name was returned, probably the name of the room in `create_room`. - ` list words...` - A list of words was returned. The number of words returned is given in ``; the words themselves are space-separated further arguments to @@ -75,7 +77,8 @@ ranges until the end of the line). - Lists all rooms the user is a member of. - Returns `list` or `error`. - ` list_members ` - - Lists all members of the given room, if the user is also a member. + - Lists all members of the given room, if the user is also a member. (This + includes the user themselves.) - Returns `list` or `error`. - ` create_room` - Creates a new room, and enters the room. The id of the room is returned to -- cgit v1.2.3-70-g09d2