From 200638a54269cd14c84d10efc78c939bd5c8d170 Mon Sep 17 00:00:00 2001 From: ChronosX88 Date: Mon, 18 Nov 2019 07:35:12 +0400 Subject: [PATCH] Fix EntityID mistake --- protocol-spec/core.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/protocol-spec/core.md b/protocol-spec/core.md index 851f17a..aebe627 100644 --- a/protocol-spec/core.md +++ b/protocol-spec/core.md @@ -14,11 +14,11 @@ For starting we simply use JSON + Websockets. ## Entity ID -* Room alias: `#:` +* Room alias: `#@` * Username: `@@` -* User ID with MSISDN (Mobile Station International Subscriber Directory Number): `%:` -* User ID with Email: `^_at_:` -* Message ID: `&:` +* User ID with MSISDN (Mobile Station International Subscriber Directory Number): `%@` +* User ID with Email: `^_at_@serverpart>` +* Message ID: `&@` * Room ID: `!@` * Single server-part: `` @@ -37,7 +37,7 @@ type (string) - type of message (used to determine which extension this message from (EntityID) - from which entity this message is send to (EntityID) - message recipient ok (boolean) - operation success indicator (used to determine if the error happened while processing request) -payload (Map) - message payload (used to store extra information in message, list of permissible fields in the payload are depends on "type" field) +payload (Map) - message payload (used to store extra information in message, list of permissible fields in the payload depends on "type" field) ``` ## Errors