mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-24 18:22:24 -05:00
XEP-0398: Fix typo: “as interface” → “as the interface”
This commit is contained in:
parent
3834c74a20
commit
ada4af1112
@ -66,7 +66,7 @@
|
||||
</iq>]]></example>
|
||||
</section1>
|
||||
<section1 topic='Conversion' anchor='conversion'>
|
||||
<p>Modern clients are expected to use PEP (<cite>XEP-0084</cite>) as interface to upload their avatar and use vCard (<cite>XEP-0153</cite>) only as a read only fallback. Thus a service MUST support conversion from PEP to vCard. A service MAY support conversion from vCard to PEP in order to display avatars in clients that only support <cite>XEP-0084</cite>.</p>
|
||||
<p>Modern clients are expected to use PEP (<cite>XEP-0084</cite>) as the interface to upload their avatar and use vCard (<cite>XEP-0153</cite>) only as a read only fallback. Thus a service MUST support conversion from PEP to vCard. A service MAY support conversion from vCard to PEP in order to display avatars in clients that only support <cite>XEP-0084</cite>.</p>
|
||||
<section2 topic='From PEP to vCard' anchor='pep2vcard'>
|
||||
<p>Upon receiving a publication request to the 'urn:xmpp:avatar:metadata' node the service MUST look up the corresponding item published in the 'urn:xmpp:avatar:data' node and store the content of the data element as a photo in the vcard. Services MUST consider the fact that the metadata node might contain multiple info elements and MUST pick the info element that does not point to an exernal URL. Services SHOULD verify that the SHA-1 hash of the image matches the id.</p>
|
||||
</section2>
|
||||
|
Loading…
Reference in New Issue
Block a user