mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-22 18:48:00 +01:00
VCardProvider should treat tel code element optional
SMACK-555
This commit is contained in:
parent
ab70cfec24
commit
f33b9f08d4
1 changed files with 3 additions and 1 deletions
|
@ -199,7 +199,9 @@ public class VCardProvider implements IQProvider {
|
|||
code = nodeName;
|
||||
}
|
||||
}
|
||||
if (code == null || value == null) continue;
|
||||
if (value == null) continue;
|
||||
if (code == null)
|
||||
code = "VOICE";
|
||||
if ("HOME".equals(type)) {
|
||||
vCard.setPhoneHome(code, value);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue