[Adium-devl] Setting XMPP Priorities
Andreas Monitzer
andy at monitzer.com
Fri Jul 28 23:17:19 UTC 2006
Hi,
As some of you watching the svn commits might have noticed, I'm
currently working on improving the account setup view. The main
remaining issue left is the UI for setting the priority of the
presences.
For those of you who don't know what it's about:
The idea behind the priority is that XMPP allows connecting to the
same account twice using different resources (you can treat them like
locations, e.g. “at home”, “at work”, “on the road”). In order to
decide which connection should be the “main” one, priorities are used.
For example, you have a desktop Mac and a portable Mac, and both are
running Adium. If you’re available on both, the portable Mac is set
to have a priority of 0, and the desktop is set to have a priority of
1, so new messages arrive at the desktop. When the desktop is away
"gone for the weekend", its priority is set to -5, which means that
new messages arrive at the portable mac (since you’re on the road).
When you set your away message on the desktop to "taking a leak", the
priority stays at 1, so they still arrive at your desktop machine for
you to look at them when you're back.
The issue right now is that Adium doesn't allow me to add that
setting to the custom status window, where it belongs (since it's a
property of the status, not the account). In my book, the proper
solution would be to add an option for plugins to add controls there.
I've filed this request as #4914.
However, my mentor told me that I might meet resistance in the Adium
developer team about this. Please keep in mind that my Summer of Code
project is about no longer just supporting the least common
denominator part of XMPP (everything that AIM also supports), but to
have a full-blown implementation that isn't artificially limited.
I haven't found a solution that doesn't involve changing the custom
status window yet. Do you have any comments on this issue?
andy
More information about the devel
mailing list