[Juser] Presence, Priority, and Missing Messages

Peter Saint-Andre stpeter at stpeter.im
Wed Dec 12 12:38:09 CST 2007


John Goerzen wrote:
> Hi,
> 
> I have a question about priorities and message routing.  I gather that
> Jabber is a network where the resource with the highest priority
> *always* wins, and presence is not considered for message routing.  I
> have also noticed a nice feature of gajim where it automatically
> lowers priority when away.

That's a smart client.

> Now, my question is mainly one of how this interoperates with offline
> storage and the like.  Say I have a Jabber client running 24/7 at home
> and at work.  At night, I go to sleep and they both are set to a low
> priority since I'm away.
> 
> Say someone sends me a message in the middle of the night, and it goes
> to my home machine (due to when I logged in or whatever).  In the
> morning, I go straight to work without touching my home PC.  When I
> get there, my work machine's priority is raised.  But what of that
> message I got in the middle of the night?  I probably won't see it at
> work.  Same scenario could occur while I'm driving to work or
> something.
> 
> So is there a good solution to this?  If I set up a privacy list that
> only goes into effect when I'm away, will the message be routed
> elsewhere?  (That is, does blocking impact routing?)  Can I have
> messages routed both places?

Your client could change to negative priority when idle for a long time.
Messages sent to user at host (no resource) will not be routed to a client
if the priority is negative.

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/juser/attachments/20071212/69709b26/attachment-0003.bin>


More information about the JUser mailing list