HI Bernd, Hi Niklas,

I found that I'm still subscribed to this list, haven't followed over
the last months indeed.
As I wrote on the users list, I found that offline messages get lost.
I am willing to try to implement this, but I guess I need some
starting points.

I had a look at the code where the OfflineStanzaReceiver comes to
play. I guess I would have a new Memory StorageProvider there that
could act as a receiver. Would you be fine if I have a StorageProvider
Interface that extends OfflineStanzaReceiver or is this too crude an
approach?
If not how would you do that ?

The OfflineStanzaStorageProvider would have a simple method like
Collection<Stanza> getPendingStanzas(bareJID)

I guess I would ask the StorageProvider for Stanzas to deliver when
the Users Presence becomes "available" again, but I have absolutely no
clue where to hook in for that. Should this go in the PresenceHandler
? Here I need some pointers to get me started with the code. As far as
I can see it should be easy then to try to deliver the stanzas once
more, is it ?

Regards Thomas


-- 
http://www.eiswind.de

Reply via email to