Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uses voice as default number detail, if no type is available. #60

Closed

Conversation

damencho
Copy link
Contributor

@damencho damencho commented Dec 6, 2015

No description provided.

@Flowdalic
Copy link
Member

Thanks for you contribution.

The added comment doesn't state what the behavior the change really introduces: It will set the label to "VOICE" if name is not a member of the TEL array. I'm going to modify it a bit.

But the motivation behind the change seems legit, since RFC 2426 § 3.3.1 clearly states

The default type is "voice"

Please note that Smack's vcard-temp code is terrible. I always wanted to fix it completely, but I guess it's better to do little steps into the right direction for now. :)

@Flowdalic
Copy link
Member

Cherry picked with minor modifications as db72917

@Flowdalic Flowdalic closed this Dec 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants