[jdev] patch for yahoo! transport

Alex Mauer hawke at hawkesnest.net
Sat Mar 5 11:13:28 CST 2005


I have created a patch for the jabber yahoo! transport.

It's available at http://www.hawkesnest.net/~hawke/yahoo-t.diff.bz2

It corrects some problems I had noticed with presence for my Yahoo!
contacts.  It also maps yahoo presence as follows:
available -> online
brb, not at desk, out to lunch -> away
not at home, not in office, on vacation, stepped out -> xa
busy, on phone -> dnd

The only one I'm unsure of is "stepped out", perhaps it should map to
"away"?

This patch also maps the yahoo! "busy" flag for custom presence to
"away".  Perhaps this should be "dnd"?

and finally, it maps the yahoo automatic "idle" message to x/a.  I'm not
sure if this is the best way to do it.

Suggestions are welcome.

-Alex Mauer "hawke"
--
Bad - You get pulled over for doing 90 in a school zone and you're drunk
off your ass again at three in the afternoon.
Worse - The cop is drunk too, and he's a mean drunk.
FUCK! - A mean drunk that's actually a swarm of semi-sentient
flesh-eating beetles.
gpg/gpg key id: 51192FF2 @ subkeys.pgp.net


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <http://mail.jabber.org/pipermail/jdev/attachments/20050305/4e25cbcf/attachment-0002.pgp>


More information about the JDev mailing list