Handle more vCard values (XEP-0054)

Description

If smack doesn't know some fields of the VCard it will ignore them. For example the time zone or full name fields are deleted. Something similar occurs with the preferred email, it removes the <pref> element.

1) Use an OF instance that has CS as a provider
2) Fill the time zone or full name of the user in CS
3) Login using Spark
4) Modify the vCard, name and email
5) Go to CS a check that the fields were deleted, and the email was not changed
6) Issues with reading binval.

Environment

None

Activity

Florian Schmaus February 12, 2015 at 8:26 AM

This is fixed in the recent vCard code provided by Chris Deering, see 0b4072ad665beac6bec92a844cb84747ffb79156

If I'm not mistaken, Smack version prior to 4.1 did also record unknown vcard fields.

Robin Collier October 7, 2011 at 1:25 AM

Adding in issues related to photo as well.

Fixed

Details

Assignee

Reporter

Ignite Forum URL

Components

Fix versions

Priority

Created February 29, 2008 at 11:08 PM
Updated October 28, 2020 at 1:28 PM
Resolved February 12, 2015 at 8:26 AM