[Bug 21957] Doesn't implement SimplePresence

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Mar 6 14:07:20 CET 2011


https://bugs.freedesktop.org/show_bug.cgi?id=21957

--- Comment #10 from Debarshi Ray <debarshi.ray at gmail.com> 2011-03-06 05:07:20 PST ---
I had a discussion with Sjoerd on IRC about this.

What XChat-GNOME does is issue a WHO message (not WHOIS) every 9 minutes
against each channel and the reply has a list of nicks and some elementary
presence information. It uses "H" or "G" to indicate if a nick is here or gone,
and "@" or "+" to indicate if the nick is an operator, etc..

So maybe we can do the same thing, and if we notice that a nick has gone from
"H" to "G", then we can issue a WHOIS message against that particular nick, and
pick up the away message.

This does lead to some overlap with ContactInfo in the sense that ContactInfo
also returns some x-presence-XXXX vcard fields because we get that for free
from the reply to a WHOIS message. But I guess that is alright because IRC
users expect their clients to show the away message when they issue a /whois
against a particular nick.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the telepathy-bugs mailing list