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