Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media server should be able to publish a VCard avatar on a user's behalf #72

Open
lloydwatkin opened this issue Jul 31, 2014 · 2 comments

Comments

@lloydwatkin
Copy link
Member

If I publish to my personal channel's avatar ID then I'd like to be able to pass an additional header which publishes my avatar in vcard format on my behalf.

http://www.xmpp.org/extensions/xep-0153.html

@imaginator
Copy link
Member

so asking for ../avatar would then return something like?

<BDAY>1476-06-09</BDAY>
    <ADR>
      <CTRY>Italy</CTRY>
      <LOCALITY>Verona</LOCALITY>
      <HOME/>
    </ADR>
    <NICKNAME/>
    <N><GIVEN>Juliet</GIVEN><FAMILY>Capulet</FAMILY></N>
    <EMAIL>[email protected]</EMAIL>
    <PHOTO>
      <TYPE>image/jpeg</TYPE>
      <BINVAL>
        Base64-encoded-avatar-file-here!
      </BINVAL>
    </PHOTO>

or just the <BINVAL> bits?

@lloydwatkin
Copy link
Member Author

No, the component would publish this to the server on your behalf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants