pidgin.vv.yahoo.voice: e38d78c6: Remove a redundant call to purple_media_...
maiku at pidgin.im
maiku at pidgin.im
Mon Aug 31 00:15:41 EDT 2009
-----------------------------------------------------------------
Revision: e38d78c63361e0b077423a683b68e1763dc759ec
Ancestor: c14691eb12207b312c36cf3ba3c8309eca509c30
Author: maiku at pidgin.im
Date: 2009-08-31T01:01:31
Branch: im.pidgin.pidgin.vv.yahoo.voice
URL: http://d.pidgin.im/viewmtn/revision/info/e38d78c63361e0b077423a683b68e1763dc759ec
Modified files:
libpurple/protocols/yahoo/yahoo_sip.c
ChangeLog:
Remove a redundant call to purple_media_add_stream.
-------------- next part --------------
============================================================
--- libpurple/protocols/yahoo/yahoo_sip.c 6d45343bcdedf6a22cdeab898b7a6bcdcfcae5a5
+++ libpurple/protocols/yahoo/yahoo_sip.c 0364a7d2c69846d398f0ff555a94dff9814c8789
@@ -492,11 +492,6 @@ event_callback(nua_event_t event, int st
nua_handle_remote(nh)->a_display);
PurpleMedia *media;
PurpleAccount *account = magic;
- PurpleConnection *pc = purple_account_get_connection(account);
- YahooData *yd = pc->proto_data;
- YahooSip *ysip = yd->ysip;
- GParameter *params;
- guint num_params;
sip_unknown_t *iter = sip_unknown(sip);
purple_debug_info("yahoo", "INVITE status %d display: %s\n",
@@ -545,12 +540,6 @@ event_callback(nua_event_t event, int st
G_CALLBACK(yahoo_sip_state_changed_cb), nh);
g_signal_connect(G_OBJECT(media), "stream-info",
G_CALLBACK(yahoo_sip_stream_info_cb), nh);
-
- params = yahoo_get_media_params(ysip, &num_params);
- purple_media_add_stream(media, "yahoo-voice", name,
- PURPLE_MEDIA_AUDIO, FALSE, "nice",
- num_params, params);
- g_free(params);
} else if (event == nua_i_state && status == 100) {
/*
* This has a phrase of "Trying" if not,
More information about the Commits
mailing list