Protocol Plugin Development Problem - Status Types

Daniel Atallah daniel.atallah at
Sat Nov 24 09:52:48 EST 2007

On Nov 24, 2007 6:13 AM, Ralf Kistner <ralfgm at> wrote:

> I'm busy developing a plugin for the MXit protocol ( At
> the moment I'm stuck with a small problem with status types.
> The protocol uses the same status types as XMPP:
> - Available
> - Chatty
> - Away
> - Extended away
> - Do Not Disturb
> - Offline
> In my test setup, I have two accounts: one MXit and one XMPP. When I have
> either one enabled, the status types work fine.
> However, when I have both accounts enabled at the same time, I can only
> set my status to one of the following:
> - Available
> - Away
> - Do not disturb (case changes)
> - Invisible (where does this come from?)
> - Offline
> "Chatty" and "Extended Away" are missing. Why this change when I enable
> both accounts?

The way that the statusbox works is that if the only accounts enabled are
using the same protocol *and* have the same statuses available do all the
account statuses appear in the list, otherwise you see the default list

The way the comparison works, it doesn't try to use the lowest common subset
of statuses because it really doesn't know that the statuses are necessarily
equivalent across multiple protocols (although the argument could be made
that it could try harder to do so).  This would get significantly more
complicated and might cause unexpected behavior - Do you match on the name?
What if the names are the same, but some other part of the status is

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list