On 31.10.2016 17:02, Florian Schmaus wrote:
> On 30.10.2016 08:19, Daniel Gultsch wrote:
>> I created a PR[1] to add stanza-ids to archived MAM messages.
>> …
>> Ejabberd already adds the id (but with a wrong by attribute IIRC) …
> 
> I assume ejabberd does/did use the XMPP domain of the service, and not
> the user's bare JID, as value of the 'by' attribute?
> 
> To be honest, I always assumed that it would be the XMPP domain and not
> the bare JID that is put in this case as value of the 'by' attribute.
> This would allow clients to simply take the XMPP address from the 'by'
> attribute and do a query against this value. I'm not sure if it's
> possible to do a MAM query against a bare JID.

Forget that. Of course it's possible to send IQs to bare JIDs. So using
the bare JID is perfectly fine. Still, since this could be done easily
wrong, doping a few words can't hurt. But those can be added after your
change went through.

- Florian

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Standards mailing list
Info: https://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: [email protected]
_______________________________________________

Reply via email to