[jdev] Offline messages XEPs interoperability (XEPs 0013 and XEP-0160)
Peter Saint-Andre
stpeter at stpeter.im
Fri Feb 21 17:31:30 UTC 2014
On 2/21/14, 10:27 AM, Thompson, David wrote:
> On Fri, Feb 21, 2014 at 11:08 AM, Sergey Dobrov <binary at jrudevels.org> wrote:
>> hey folks,
>>
>> for now we have two different XEPs that allowing xmpp-servers to store
>> messages that being sent while client was not available. XEP 0013 says that
>> it's not very nice to flood all the messages on the client when it's
>> becoming available, rather it advices to provide a way to discover such
>> messages and query the necessary ones (and it's becoming something like
>> inbox. the implementation is not the best to me, but it still nice), the
>> XEP-0160 vice-versa says that we need to send all the messages when client
>> has became available. And there is a good reason for that again: that way
>> clients don't need any extra support of the offline storage.
>
> Hello all,
>
> I have a question that is tangent to Sergey's.
>
> For users that use multiple clients, is there any way to sync the last
> N messages that they have received to a given client, where N is some
> reasonable number of messages. Offline messages are great, but I'd
> like to have a similar sort of functionality for different resource
> ids for one user.
I think you want Message Archive Management:
http://xmpp.org/extensions/xep-0313.html
Peter
--
Peter Saint-Andre
https://stpeter.im/
More information about the JDev
mailing list