diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-21 13:53:41 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2012-09-21 13:53:41 +0000 |
commit | fece4176cb07bfe47dd5091a9c0eb6d69a6a107e (patch) | |
tree | fd5a063f5d4275a11395679eb402e743c0fb7ac3 /protocols/JabberG | |
parent | 4ba2fd611622ac3cd8680ed48d3fb3412bea282a (diff) |
fix for saving phone number (patch by d.k.Brazz) (fixes #42)
git-svn-id: http://svn.miranda-ng.org/main/trunk@1622 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG')
-rw-r--r-- | protocols/JabberG/jabber_iqid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/jabber_iqid.cpp b/protocols/JabberG/jabber_iqid.cpp index a4a5d5a5f2..acac62cfdb 100644 --- a/protocols/JabberG/jabber_iqid.cpp +++ b/protocols/JabberG/jabber_iqid.cpp @@ -996,11 +996,11 @@ void CJabberProto::OnIqResultGetVcard( HXML iqNode ) hasFax = TRUE;
JSetStringT( hContact, "Fax", xmlGetText( m ));
}
- if ( !hasCell && xmlGetChild( n , "CELL" )!=NULL ) {
+ else if ( !hasCell && xmlGetChild( n , "CELL" )!=NULL ) {
hasCell = TRUE;
JSetStringT( hContact, "Cellular", xmlGetText( m ));
}
- if ( !hasPhone &&
+ else if ( !hasPhone &&
( xmlGetChild( n , "HOME" )!=NULL ||
xmlGetChild( n , "WORK" )!=NULL ||
xmlGetChild( n , "VOICE" )!=NULL ||
|