Never returns from RequestContactInfo() if contact is offline
@wjt
Submitted by Will Thompson Assigned to Telepathy bugs list
Description
If you call RequestContactInfo() for a nickname which isn't online, Idle will never return an error (or indeed return at all).
You can see that this is the case by inspection of idle-contact-info.c: tp_svc_connection_interface_contact_info_return_from_request_contact_info() is only called from _return_from_request_contact_info() which is only called from _end_of_whois_handler().
Idle will receive an ERR_NOSUCKNICK for the nickname:
401 <nickname>
:some human-readable message
I guess it's not possible to match it up to the WHOIS, but if we get one of these while a WHOIS is pending it seems reasonable to assume the user is not online and return an error. (Empathy doesn't actually show you that an error occurred, but at least the “Information requested” spinner disappears.”)
Version: git master