#1432 mod_vcard_legacy overwrites <{vcard-temp:x:update}x> with empty photo element
Reporter
Zash
Owner
Nobody
Created
Updated
Stars
★ (1)
Tags
Milestone-0.11
Compliance
Type-Defect
Status-Fixed
Priority-Medium
Zash
on
Please provide a snippet of the part of the specification which we violate
if possible:
> Empty x elements qualified by the 'vcard-temp:x:update' namespace (those without a photo element as child) MUST be overwritten.
It appears to be implied that empty <photo> elements are to be left alone.
An example also suggests this.
Please provide a link to the specification:
https://xmpp.org/extensions/xep-0398.html#presence
Please provide a snippet of the part of the specification which we violate if possible: > Empty x elements qualified by the 'vcard-temp:x:update' namespace (those without a photo element as child) MUST be overwritten. It appears to be implied that empty <photo> elements are to be left alone. An example also suggests this. Please provide a link to the specification: https://xmpp.org/extensions/xep-0398.html#presence
Fixed in https://hg.prosody.im/trunk/rev/4701415f5b0e
Changes