mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 16:22:35 +01:00
account-notify spec: with the extended-join capability, doing a WHO on new users is not necessary.
This commit is contained in:
parent
261e2f9399
commit
f56b4e3c07
1 changed files with 6 additions and 1 deletions
|
@ -40,7 +40,12 @@ you always have the accountname to display is to do the following:
|
|||
include the 'a' format token in your WHOX token request. When you get
|
||||
a reply, do appropriate caching.
|
||||
|
||||
3) When new users join a channel that your client does not know the accountname
|
||||
3) If the extended-join capability is available, enable it at client capability
|
||||
negotiation time during the login handshake, and then set the accountname
|
||||
based on what is sent in the extended JOIN command.
|
||||
|
||||
Otherwise, if extended-join is unavailable:
|
||||
When new users join a channel that your client does not know the accountname
|
||||
for yet, do a WHO query against that client, again including the 'a' format
|
||||
token in your WHOX token request field. When you get a reply, do appropriate
|
||||
caching.
|
||||
|
|
Loading…
Reference in a new issue