Hi, in addition to Matthias well-explained answer, I also might point out, that Peter Saint-Andre said about 1 month ago on the Standard mailing list, that XEP-0013 might get deprecated: http://mail.jabber.org/pipermail/standards/2014-January/028497.html (btw: any news about the future of XEP-0013?)
So it might currently not be the best idea to put development effort into it. Christian Am 21.02.2014 um 17:08 schrieb Sergey Dobrov: > 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. > > Ok, we've seen that both XEPs cover some good usecase. But how to combine > them? Can the xmpp server support both of them? I don't see a way for it to > do that: if it supports 160 it needs to send all the messages immediately on > client's presence but according to 13 it can't do that and I don't see any > possibility for server to know which behaviour is the best for the client. > > If server will support only 13, a big number of clients won't be able to > obtain offline messages, but the 13 is still pretty nice to me (I just would > want to add some more queries compatibility or even maybe combine it with > MAM?). So, according to all these words above, what's the best way to me to > implement such an inbox offline storage of messages? > > Thanks. > > _______________________________________________ > JDev mailing list > Info: http://mail.jabber.org/mailman/listinfo/jdev > Unsubscribe: [email protected] > _______________________________________________ _______________________________________________ JDev mailing list Info: http://mail.jabber.org/mailman/listinfo/jdev Unsubscribe: [email protected] _______________________________________________
