The vCard avatar type always return jpg

Description

Even if the vCard contains an avatar of type png, when modified it returns jpeg.

The MIME type need to become a member field of the VCard class.

Code places where the MIME type is hardcoded:

Environment

None

Activity

Show:

Florian Schmaus March 23, 2013 at 12:37 AM

If you don't want the MIME type to default to 'image/jpeg' then use the appropriate setAvatar() method where you can specify the MIME type. The javadoc was improved with https://igniterealtime.atlassian.net/browse/SMACK-413#icft=SMACK-413 to make that more clear.

Florian Schmaus March 22, 2013 at 5:02 PM

The vCard code needs some love and reworking. Scheduling this for a 4.0 release

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created February 29, 2008 at 11:09 PM
Updated May 30, 2013 at 10:46 PM
Resolved March 23, 2013 at 12:37 AM

Flag notifications