aboutsummaryrefslogtreecommitdiff
path: root/protocol.md
diff options
context:
space:
mode:
authorTom Smeding <tom.smeding@gmail.com>2020-07-05 18:16:59 +0200
committerTom Smeding <tom.smeding@gmail.com>2020-07-05 18:16:59 +0200
commit19ceccdab1cb11f74d8f402429cea54ddcb183d6 (patch)
tree988678a98778f81f2a5e3a95a5543d6adbf7b9dd /protocol.md
parentb0197c73ed4ee3babb85982d589863404853f915 (diff)
server/protocol: Include inviter username in _push invite
Diffstat (limited to 'protocol.md')
-rw-r--r--protocol.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/protocol.md b/protocol.md
index d4c544b..346bfe4 100644
--- a/protocol.md
+++ b/protocol.md
@@ -182,8 +182,9 @@ are listed below.
- `_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>`
- - Sent to all sessions of the invited user after an `invite` command.
+- `_push invite <roomname:word> <user:word>`
+ - Sent to all sessions of the invited user after an `invite` command. The
+ `<user>` parameter indicates who invited you to the given room.
- `_push join <roomname:word> <user:word>`
- Sent to all sessions of all members of a room (except the session sending
the `invite` command) in which a new user entered.