[
https://issues.apache.org/jira/browse/VYSPER-333?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501653#comment-13501653
]
wan jian ming edited comment on VYSPER-333 at 11/21/12 1:59 AM:
----------------------------------------------------------------
sorry, sir:
I read the rfc621, in 4.3.2. Server Processing of Inbound Presence
Probe; bullet 4 is the scenario that I described above. it required the full
JIDs, but in vysper, the from is just bare JID;
here is what i picked from RFC6121; 4.3.2.
4. Else, if the contact has at least one available resource, then
the server MUST reply to the presence probe by sending to the
user the full XML of the last presence stanza with no 'to'
attribute received by the server from each of the contact's
available resources. Here the 'from' addresses are the full JIDs
of each available resource.
also in bullet 4 of 4.3.2.. it asked to send unavailabe message to user. vysper
send nothing. any way, it seems that it doesn't matter;
was (Author: wan_jm):
sorry, sir:
I read the rfc621, in 4.3.2. Server Processing of Inbound Presence
Probe; bullet 4 is the scenario that I described above. it required the full
JIDs, but in vysper, the from is just bare JID;
4. Else, if the contact has at least one available resource, then
the server MUST reply to the presence probe by sending to the
user the full XML of the last presence stanza with no 'to'
attribute received by the server from each of the contact's
available resources. Here the 'from' addresses are the full JIDs
of each available resource.
also in bullet 4 of 4.3.2.. it asked to send unavailabe message to user. vysper
send nothing. any way, it seems that it doesn't matter;
> presence message should bring the resource information of one user;
> -------------------------------------------------------------------
>
> Key: VYSPER-333
> URL: https://issues.apache.org/jira/browse/VYSPER-333
> Project: VYSPER
> Issue Type: Bug
> Components: stanza routing
> Affects Versions: 0.7
> Environment: normal environment;
> Reporter: wan jian ming
>
> when one on logins, he/she will get the presence information from all of its
> rosters. but in the presence message there are no resource jid, so the client
> don't know exactly how many logins there.
> for example A has a friend B. but before A is login. there are two logins of
> B already. so when A got prenence message of B, it only get two B@*** ,
> without resource in the JID; so when B logout, the client of A can't show the
> status correctly.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira