diff options
author | Eion Robb <eion@robbmob.com> | 2007-12-04 03:02:36 +0300 |
---|---|---|
committer | Eion Robb <eion@robbmob.com> | 2007-12-04 03:02:36 +0300 |
commit | 1361ad031fcf4eff1b556c3594a928ef1b06c548 (patch) | |
tree | e4c03183b1842c619579946b3f0edaf96eedd8d4 /skype_messaging_carbon2.c | |
parent | 02bd37d0a50cb0b8023e2318afce9b3cbb422d94 (diff) |
Always notify of attach responses
Diffstat (limited to 'skype_messaging_carbon2.c')
-rwxr-xr-x | skype_messaging_carbon2.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/skype_messaging_carbon2.c b/skype_messaging_carbon2.c index 596aa0d..ee06a85 100755 --- a/skype_messaging_carbon2.c +++ b/skype_messaging_carbon2.c @@ -111,13 +111,10 @@ attachResponseCallback( { CFNumberRef responseNumber = (CFNumberRef)CFDictionaryGetValue(userInfo, CFSTR("SKYPE_API_ATTACH_RESPONSE")); int response = CFNumberToCInt(responseNumber); - if (response) + client_id = response; + if (delegate && delegate->SkypeAttachResponse) { - client_id = response; - if (delegate && delegate->SkypeAttachResponse) - { - delegate->SkypeAttachResponse(response); - } + delegate->SkypeAttachResponse(response?1:0); } } |