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

5
.gitignore vendored
View File

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

View File

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