Change 3PID in EntityID

This commit is contained in:
ChronosX88 2019-11-22 22:36:50 +04:00
parent 69c237ff25
commit 3b6e26f96c
2 changed files with 6 additions and 3 deletions

3
.gitignore vendored
View File

@ -21,6 +21,7 @@
# Icon must end with two \r # Icon must end with two \r
Icon Icon
# Thumbnails # Thumbnails
._* ._*
@ -40,3 +41,5 @@ Network Trash Folder
Temporary Items Temporary Items
.apdisk .apdisk
/out

View File

@ -16,8 +16,8 @@ For starting we simply use JSON + Websockets.
## Entity ID ## Entity ID
* Room alias: `#<roomAlias>@<serverpart>` * Room alias: `#<roomAlias>@<serverpart>`
* Username: `@<username>@<serverpart>` * Username: `@<username>@<serverpart>`
* User ID with MSISDN (Mobile Station International Subscriber Directory Number): `%<msisdn without +>@<serverpart>` * User ID with any 3PID: `%<type>:<data>@<serverpart>`
* User ID with Email: `^<email username>_at_<email hostname>@serverpart>` * Currently supported only following types: `email` and `msisdn`.
* Message ID: `&<uuid>@<serverpart (from which server the message was sent)>` * Message ID: `&<uuid>@<serverpart (from which server the message was sent)>`
* Room ID: `!<roomID>@<serverpart>` * Room ID: `!<roomID>@<serverpart>`
* Single server-part: `<serverpart>` * Single server-part: `<serverpart>`