Mercurial > pidgin
comparison libpurple/protocols/msn/contact.c @ 24519:3915331092b2
Deleting a contact without a ContactId doesn't work, so don't bother the server
with it.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Sun, 07 Dec 2008 07:28:42 +0000 |
parents | 4fd22591e3f0 |
children | d39ed4032dc9 |
comparison
equal
deleted
inserted
replaced
24518:4fd22591e3f0 | 24519:3915331092b2 |
---|---|
1177 | 1177 |
1178 if (user->uid != NULL) { | 1178 if (user->uid != NULL) { |
1179 contact_id_xml = g_strdup_printf(MSN_CONTACT_ID_XML, user->uid); | 1179 contact_id_xml = g_strdup_printf(MSN_CONTACT_ID_XML, user->uid); |
1180 purple_debug_info("msn", "Deleting contact with contactId: %s\n", user->uid); | 1180 purple_debug_info("msn", "Deleting contact with contactId: %s\n", user->uid); |
1181 } else { | 1181 } else { |
1182 contact_id_xml = g_strdup_printf(MSN_CONTACT_XML, user->passport); | 1182 purple_debug_info("msn", "Unable to delete contact %s without a ContactId\n", user->passport); |
1183 purple_debug_info("msn", "Deleting contact with passport: %s\n", user->passport); | 1183 return; |
1184 } | 1184 } |
1185 | 1185 |
1186 state = msn_callback_state_new(session); | 1186 state = msn_callback_state_new(session); |
1187 msn_callback_state_set_uid(state, user->uid); | 1187 msn_callback_state_set_uid(state, user->uid); |
1188 | 1188 |