aboutsummaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
Diffstat (limited to 'protocol.md')
-rw-r--r--protocol.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocol.md b/protocol.md
index 2d7ec63..d4c544b 100644
--- a/protocol.md
+++ b/protocol.md
@@ -128,7 +128,9 @@ ranges until the end of the line).
`send` message was sent from).
Also marks the current session as active.
- - Returns `ok` or `error`.
+
+ The returned `number` response contains the message id of the message sent.
+ - Returns `number` or `error`.
- `<tag> history <roomname:word> <number:i64>`
- Requests the last `<number>` messages in the given room, if the client is a
member of the room. In the `history` response, `<count>` will be at most
@@ -177,7 +179,7 @@ are listed below.
(excluding user X) of all rooms user X is a member of receive a `_push
online` push message stating that `<user>` (user X) is now online with
`<numonline>` sessions.
-- `_push message <roomname:word> <user:word> <timestamp:i64> <message:string...>`
+- `_push message <roomname:word> <user:word> <timestamp:i64> <msgid:i64> <message:string...>`
- Sent to all sessions of all members of a room in which a message is
posted, except the session that sent the message.
- `_push invite <roomname:word>`