mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-22 22:32:06 +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