Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEion Robb <eion@robbmob.com>2010-08-05 00:41:17 +0400
committerEion Robb <eion@robbmob.com>2010-08-05 00:41:17 +0400
commitccd4531bc38eaf40181cd5408f22c8913b9567cf (patch)
tree954197636171ca1efab196c9290f4eeb37d06307 /skype_events.c
parentbe098d709c715150b43850f1a54993b7d83c76b7 (diff)
Fix to close the 'answer call' window on non -vv versions of Pidgin when answering/missing calls from other places
Diffstat (limited to 'skype_events.c')
-rw-r--r--skype_events.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/skype_events.c b/skype_events.c
index 75acf10..490db9e 100644
--- a/skype_events.c
+++ b/skype_events.c
@@ -776,11 +776,13 @@ skype_handle_received_message(char *message)
_("Send to _Voicemail"), G_CALLBACK(skype_call_voicemail_cb),
_("_Forward"), G_CALLBACK(skype_call_forward_cb));
g_free(temp);
+ g_free(chatname);
+ g_free(sender);
}
- g_free(chatname);
- g_free(sender);
g_free(type);
- } else if (g_str_equal(string_parts[3], "INPROGRESS"))
+ } else if (g_str_equal(string_parts[3], "INPROGRESS") ||
+ g_str_equal(string_parts[3], "MISSED"))
+
{
purple_request_close_with_handle(gc);
}
@@ -864,8 +866,8 @@ skype_call_accept_cb(gchar *call)
void
skype_call_accept_video_cb(gchar *call)
{
- skype_send_message_nowait("ALTER CALL %s ANSWER", call);
- skype_send_message_nowait("SET CALL %s SEEN", call);
+ skype_send_message("ALTER CALL %s ANSWER", call);
+ skype_send_message("SET CALL %s SEEN", call);
skype_send_message_nowait("ALTER CALL %s START_VIDEO_SEND", call);
skype_send_message_nowait("ALTER CALL %s START_VIDEO_RECEIVE", call);
g_free(call);