Re: XMPP Roster Filtering
Waqas Hussain <[email protected]>
| Newsgroups | gmane.network.jabber.user |
|---|---|
| Message-ID | <CALm9TZ_8D1M=+7TrsKtrAbvsCPKDCZKYYXztjm2kE44ZU-z2zw@mail.gmail.com> |
On Wed, Jan 25, 2012 at 2:36 AM, <[email protected]> wrote: > Hello, > > I am struggling with a particular usage pattern that would really be helped > if the XMPP spec provided the ability to allow the client to request only a > subset of their roster by groups or eventually a filter query. > > The basic idea is that say my roster is comprised of groups A-J and these > groups relate to particular social groups within the hosting application. > > So let’s say I am in group A and I only want to see presence notifications > from those within group A. As it stands now it seems like I am stuck getting > notifications from groups A-J (The summation of my roster) and just ignoring > all those from groups B-J. > > But In this scenario 90% of the server work and generated traffic would be > wasteful which is what I am trying to avoid. > > I realize I am still lacking a mechanism for dynamically changing the roster > view post-login but one thing at a time. So I would appreciate any insight > or thoughts you may have on this. > > thanks, > > -paul > The only way to do this on an stock XMPP server today is through XEP-0016: Privacy Lists. Note that while this will decrease client traffic, it would probably increase server work. XEP-0191: Simple Communications Blocking probably wont fit your use-case. Your other option is writing a plugin for the server you are using (I'm assuming you have control of the server). Given that your use-case is fairly simple, a plugin shouldn't be too much work. On the topic of specs, there has been discussion on the XMPP standards list in the past regarding extending roster functionality in various ways. This has included roster views (what you want), sub rosters provided by entities other than the user's server, etc. There are no specifications yet though. -- Waqas Hussain _______________________________________________ This is JUser -- a mailing list for end users of Jabber/XMPP clients. To unsubscribe, send email to [email protected] or go to the following web page, scroll all the way down, and type in your email address: http://mail.jabber.org/mailman/listinfo/juser _______________________________________________