[Standards-JIG] Semantics of negative priority

Maciek Niedzielski maciekniedzielski at wp.pl
Fri Jan 14 02:11:33 UTC 2005


Stephen Marquard wrote:
> What are negative priorities typically used for ?

Negative priority prevents messages from being delivered to the
resources that shouldn't get it.
For example, all roster-modifying scripts (like JRU) should log in to
your account with a negative priority. This way, even if JRU is the my
only available resource, no messages would be delivered there.

One of my friends got another idea: Polish Gadu-Gadu IM servers may
store up to about 20 offline messages. It's not much.
This is why he has a bot hanging on his account all the time - this
makes GaduGadu transport be online 24h/d and receive all the messages.
However, this bot has a negative priority, so no message is delivered
there. All of them are stored at jabber server, which may enqueue many,
many messages.

-- 
Maciek
 xmpp:machekku at chrome.pl



More information about the Standards mailing list