[Standards] Presences of Contacts in Search Result

Phuong Vo phngt2 at gmail.com
Sun Oct 18 23:25:04 UTC 2015


Hi Dave

According to your reply, if I want to see presences of all contacts in search result, I have to add them to roster. That is just fine for single endpoint; however, jabber supports multiple endpoints (the same users can login on multiple devices) if I do this on one endpoint, all other endpoints will see searched contacts in the contact list which is weird behavior. I am not sure XMPP has a workaround for this issue. Thanks for your response Dave.

Thanks,
Phuong Vo

> On Oct 17, 2015, at 5:00 AM, standards-request at xmpp.org wrote:
> 
> Send Standards mailing list submissions to
>    standards at xmpp.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    http://mail.jabber.org/mailman/listinfo/standards
> or, via email, send a message with subject or body 'help' to
>    standards-request at xmpp.org
> 
> You can reach the person managing the list at
>    standards-owner at xmpp.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Standards digest..."
> 
> 
> Today's Topics:
> 
>   1. Fwd: [Council] Minutes 20151014 (Kevin Smith)
>   2. Presences of Contacts in Search Result (Phuong Vo)
>   3. Re: Presences of Contacts in Search Result (Dave Cridland)
>   4. Re: Fwd: [Council] Minutes 20151014 (Goffi)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Fri, 16 Oct 2015 15:08:18 +0100
> From: Kevin Smith <kevin.smith at isode.com>
> To: XMPP Standards <standards at xmpp.org>
> Subject: [Standards] Fwd: [Council] Minutes 20151014
> Message-ID: <68941690-A778-4858-8126-27CEB165A8BE at isode.com>
> Content-Type: text/plain; charset="utf-8"
> 
> FYI
> 
>> Begin forwarded message:
>> 
>> From: Kevin Smith 
>> Date: 16 October 2015 at 15:06:51 BST
>> To: XMPP Council 
>> Subject: [Council] Minutes 20151014
>> 
>> 1) Roll call
>> Kev, Lance, Fippo, Dave present. Matt absent (it later transpired he?d tried to send apologies and failed)
>> 
>> 2) Website review
>> 
>> Dave asked everyone to review all the technical content on http://new.xmpp.org/ for correctness
>> 
>> 3) Date of next meeting
>> 
>> 20151021 15:00Z
>> 
>> 4) Any other business
>> 
>> Fippo asked if https://github.com/xsf/xeps/pull/108 satisfied Kev?s previous comment (it did).
>> 
>> Kev reminded everyone about the upcoming elections.
>> 
>> Fini
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.jabber.org/pipermail/standards/attachments/20151016/c06ca407/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Fri, 16 Oct 2015 10:14:12 -0700
> From: Phuong Vo <phngt2 at gmail.com>
> To: standards at xmpp.org
> Subject: [Standards] Presences of Contacts in Search Result
> Message-ID:
>    <CA+wHs=z-Wo9TEj9edCGVR7tORkFDt1NsXcnaW5mEfHC3YjhLdg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi,
> 
> I am currently developing jabber client (vs Cisco Jabber server) and facing
> a difficulty of getting presences of contacts (internal contacts, not
> federated contacts) in search result if those contacts are not in my
> contact list (not in roster). In term of XMPP protocol, could you please
> help me how to achieve this feature? Any idea, direction are appreciated.
> 
> Thanks,
> Phuong Vo
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.jabber.org/pipermail/standards/attachments/20151016/f262e3cb/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Fri, 16 Oct 2015 20:07:32 +0100
> From: Dave Cridland <dave at cridland.net>
> To: XMPP Standards <standards at xmpp.org>
> Subject: Re: [Standards] Presences of Contacts in Search Result
> Message-ID:
>    <CAKHUCzyPbA2TOJbRgmep5h65HVwCPMnRmg_RLSJHozC0025jAw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
>> On 16 October 2015 at 18:14, Phuong Vo <phngt2 at gmail.com> wrote:
>> 
>> I am currently developing jabber client (vs Cisco Jabber server) and
>> facing a difficulty of getting presences of contacts (internal contacts,
>> not federated contacts) in search result if those contacts are not in my
>> contact list (not in roster). In term of XMPP protocol, could you please
>> help me how to achieve this feature? Any idea, direction are appreciated.
> You can't, by design, in standard XMPP.
> 
> The roster is not only a contact list, but also an access control list of
> which other jids are allowed to see your presence; so to see people's
> presence you'd need to add them to your roster. You do this by subscribing
> to their presence via a <presence type='subscribe'/> stanza.
> 
> Dave.
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://mail.jabber.org/pipermail/standards/attachments/20151016/0614f8bf/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Sat, 17 Oct 2015 12:55:50 +0200
> From: Goffi <goffi at goffi.org>
> To: XMPP Standards <standards at xmpp.org>
> Subject: Re: [Standards] Fwd: [Council] Minutes 20151014
> Message-ID: <1981379.Sl3HtCtIuH at dhcppc7>
> Content-Type: text/plain; charset="utf-8"
> 
> Le vendredi 16 octobre 2015, 15:08:18 Kevin Smith a ?crit :
>> FYI
>> 
>>> Begin forwarded message:
>>> 
>>> From: Kevin Smith
>>> Date: 16 October 2015 at 15:06:51 BST
>>> To: XMPP Council
>>> Subject: [Council] Minutes 20151014
>>> 
>>> 1) Roll call
>>> Kev, Lance, Fippo, Dave present. Matt absent (it later transpired he?d
>>> tried to send apologies and failed)
>>> 
>>> 2) Website review
>>> 
>>> Dave asked everyone to review all the technical content on
>>> http://new.xmpp.org/ for correctness
> 
> The new website looks great, congrats ! I'm just wondering if "The most secure 
> messaging protocol" and "Privacy-focused" is suitable when we still don't have 
> a good popular solution for end to end encryption. I know there is work on 
> Axolotl/Omemo which fixes some stuff but:
> 1) it's not standardised yet
> 2) it seems to be focusing on chat
> 3) it encodes the <body> element instead of the whole stanza
> 
> We still lack a popular end to end full stanza encryption solution.
> 
> Is it possible to have a focus on end 2 end encryption for the Fosdem XMPP 
> summit ? It's a long time issue in XMPP, and I don't think we can claim "the 
> most secure messaging protocol" without this fixed.
> 
> 
> Thanks
> Goffi
> 
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> Standards mailing list
> Standards at xmpp.org
> http://mail.jabber.org/mailman/listinfo/standards
> 
> 
> ------------------------------
> 
> End of Standards Digest, Vol 143, Issue 21
> ******************************************


More information about the Standards mailing list