пн, 26 нояб. 2018 г. в 04:01, Daniel Gultsch <dan...@gultsch.de>:
> That might be the crux here by the way. What is the purpose of the origin-id?

We have implemented a reliable delivery protocol based on XEP-0359,
that basically works like this:
 * client sends stanza with origin-id
 * server receives this message and assigns stanza-id to it, a
timestamp, returning receipt with this information (along with
origin-id) to client
 * client receives this receipt and matches stanza-id with origin-id

So, the purpose of the origin-id is to be a temporary ID on client
side until it knows a 'true' stanza-id assigned by it's server.

(protocol is more complex, with retries and such, but it's a bigger
scope outside question on origin-id purpose)

-- 
Ненахов Андрей
Директор ООО "Редсолюшн" (Челябинск)
(351) 750-50-04
http://www.redsolution.ru
_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
_______________________________________________

Reply via email to