[jdev] status bug in pyaim-t

Robert B Quattlebaum, Jr. darco at deepdarc.com
Mon Jun 13 01:47:44 CDT 2005


On Jun 12, 2005, at 11:28 PM, Eric Muehlstein wrote:

> I have noticed that the status of several of my aim-transport users is
> not reported properly to AIM buddies.
>
> To reproduce this error, login to a jabber acct and pyaim-t transport,
> set yourself "away" with no status message.
>
> The aim-transport will show status "online".
>
> Try again, but set a status message when you go "away" and the
> aim-transport will properly show your status.

I actually fixed this the other day on my end. It is a fairly easy  
fix. The problem is that the transport's AIM presence interface is  
overly simplistic--just one function called "setAway" or something  
like that. It takes one argument, which is the away status. If the  
away status is empty, then you aren't away. This causes an obvious  
problem when you are away without a status description. It was an  
easy fix though. I'll see if I can throw up a patch tomorrow. Just  
make sure you remind me. Heh.

> I would try a hand at fixing this myself, but my python isn't too
> strong.

Neither is mine--I'm fresh meat in terms of python programming. But  
that's what is so great about python; it is very easy to work with  
code even if you are still trying to learn the ins-and-outs of the  
language. Give it a try--you might be surprised by how productive  
you'll be right out off the bat.

--- darco
http://deepdarc.com/
http://voria.com/

 >++++[<++++>-]<[->+++>++++>
+++++>+++++<<<<]>>>++++.<++
++++++.---.<---.>-.---.>+++
.>--.<<<.>>>+.<<+++++.<.>>-
--.<++.---.<.>-.---.>--.<++
.<.>--.++++++.--.<.>++++.>+
.<<.>>++.>+.-.-.<<<.>>.--.!





More information about the JDev mailing list