On Wed, Jan 16, 2008 at 02:55:00AM +0100, Jakob Schröter wrote:
> Hi,
>
> On Sunday January 13 2008, Dmitry Nezhevenko wrote:
> > Hi. Can anybody confirm, that gloox correctly gets binary data of photo
> > from VCard?
> >
> > I always get bigger content than real (vcard.photo().binval.size() > than
> > real value) and photo content is broken.
>
> Does the attached patch help? It seems some server and/or client
> implementations add line breaks to the base64-encoded image data to produce
> some MIME-like format. The vcard spec is not clear about this, so this patch
> works around that.
>
Yes.. thanks. After applying it to 0.9 branch, it works as expected.
PS. I'm using ejabberd server and PSI as client.
--
WBR, Dmitry
Attachment:
signature.asc
Description: Digital signature