[Standards] MAM: misleading archiving node in examples

Kim Alvefur zash at zash.se
Tue Feb 21 21:00:30 UTC 2017


Hi,

On Tue, Feb 21, 2017 at 09:35:51PM +0100, Ruslan N. Marchenko wrote:
> In the examples across XEP-0313 the IQs are all to-less.
> 
> If I understand it right - in absence of 'to' attribute on c2s - the server
> itself is assumed as a recipient - i.e. <iq id='1'/> == <iq to='example.org'
> id='1'/>.

No, the current account is assumed, so ...

> In MAM case archiving node for the user is user's bare jid - hence proper
> addressing should be <iq to='user at example.org' id='1' type='set'>...</iq>

... this is equivalent.

https://xmpp.org/rfcs/rfc6120.html#rules-noto

> If the server receives an IQ stanza with no 'to' attribute, it MUST
> process the stanza on behalf of the account from which received the
> stanza, [...]


-- 
Regards,
Kim "Zash" Alvefur
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://mail.jabber.org/pipermail/standards/attachments/20170221/4f1ea750/attachment.sig>


More information about the Standards mailing list