/soc/2013/ashmew2/filetransferX: 421ce3c1b7a3: Fixed initiate XML
Ashish Gupta
ashmew2 at gmail.com
Wed Aug 7 08:51:14 EDT 2013
Changeset: 421ce3c1b7a3d661b91023e4f0b3501815c44c36
Author: Ashish Gupta <ashmew2 at gmail.com>
Date: 2013-08-07 14:25 +0530
Branch: filetransferX
URL: https://hg.pidgin.im/soc/2013/ashmew2/filetransferX/rev/421ce3c1b7a3
Description:
Fixed initiate XML
diffstat:
libpurple/protocols/jabber/google/google_session.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (21 lines):
diff --git a/libpurple/protocols/jabber/google/google_session.c b/libpurple/protocols/jabber/google/google_session.c
--- a/libpurple/protocols/jabber/google/google_session.c
+++ b/libpurple/protocols/jabber/google/google_session.c
@@ -1120,7 +1120,7 @@ void gtalk_xfer_session_initiate(PurpleX
JabberBuddyResource *jbr;
gchar *jid;
JabberIq *iq;
- xmlnode *session_node, *description_node, *file_node, *manifest_node;
+ xmlnode *session_node, *description_node, *file_node, *manifest_node, *transport_node;
xmlnode *name_node, *protocol_node, *http_node, *url_source_node, *url_preview_node;
gchar *me = g_strdup_printf("%s@%s/%s",
@@ -1182,6 +1182,8 @@ void gtalk_xfer_session_initiate(PurpleX
xmlnode_insert_data(url_source_node, gtalk_get_temporary_url(), -1);
url_preview_node = xmlnode_new_child(http_node, "url");
xmlnode_insert_data(url_preview_node, gtalk_get_temporary_url(), -1);
+ transport_node = xmlnode_new_child(session_node, "transport");
+ xmlnode_set_namespace(transport_node, NS_GOOGLE_TRANSPORT_P2P);
js->google_share_sessions = g_list_prepend(js->google_share_sessions, session);
jabber_iq_send(iq);
More information about the Commits
mailing list