Smack 4.1.3 AvatarURL does not set Photo EXTVAL

Hiya Flow,

Thanks for your great work on Smack 4.1.3.

The implementation of setAvatarURL in Smack 4.1.3 vcardtemp is making the assumption that the supplied URL refers to a locally accessible file that should be loaded through a byte-stream. The implementation should be instead setting the Photo EXTVAL field, propagated with the vCard, and allow the developer to choose how to handle this URI. In my case, I have a independent image server, and these URLs are utilized directly by an Android image component.

Thanks Flow,


Right, the vCard API has some potential for improvements. Thanks for reporting.

Created SMACK-684, patches welcome.