diff options
author | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2010-04-14 12:40:33 -0300 |
---|---|---|
committer | Andre Moreira Magalhaes (andrunko) <andre.magalhaes@collabora.co.uk> | 2010-04-14 12:40:33 -0300 |
commit | ab817641a5bb942bd61967148a96083ebfe7a816 (patch) | |
tree | 21b4a1367ab49d673ffb11623b708c0e06b54c4e | |
parent | 9ae9a59c1ea988ba9409cbc3f9d0bcc714e6beea (diff) |
conn-contact-info: GetContactInfo should only return cached data and not request from network.
-rw-r--r-- | src/conn-contact-info.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/conn-contact-info.c b/src/conn-contact-info.c index e8f000565..a5756a516 100644 --- a/src/conn-contact-info.c +++ b/src/conn-contact-info.c @@ -479,20 +479,6 @@ gabble_connection_get_contact_info ( g_hash_table_insert (ret, GUINT_TO_POINTER (contact), contact_info); } - else - { - if (g_hash_table_lookup (self->vcard_requests, - GUINT_TO_POINTER (contact)) == NULL) - { - GabbleVCardManagerRequest *request; - - request = gabble_vcard_manager_request (self->vcard_manager, - contact, 0, _request_vcards_cb, self, NULL); - - g_hash_table_insert (self->vcard_requests, - GUINT_TO_POINTER (contact), request); - } - } } gabble_svc_connection_interface_contact_info_return_from_get_contact_info ( |