/soc/2013/ashmew2/filetransferX: 6f6dd0dcf075: Catching Gtalk Xf...
Ashish Gupta
ashmew2 at gmail.com
Mon Aug 5 16:14:39 EDT 2013
Changeset: 6f6dd0dcf0757f53b78f19620cbba867a8754985
Author: Ashish Gupta <ashmew2 at gmail.com>
Date: 2013-08-06 01:44 +0530
Branch: filetransferX
URL: https://hg.pidgin.im/soc/2013/ashmew2/filetransferX/rev/6f6dd0dcf075
Description:
Catching Gtalk Xfer in Jabber
diffstat:
libpurple/protocols/jabber/si.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diffs (19 lines):
diff --git a/libpurple/protocols/jabber/si.c b/libpurple/protocols/jabber/si.c
--- a/libpurple/protocols/jabber/si.c
+++ b/libpurple/protocols/jabber/si.c
@@ -1660,6 +1660,15 @@ PurpleXfer *jabber_si_new_xfer(PurpleCon
void jabber_si_xfer_send(PurpleConnection *gc, const char *who, const char *file)
{
PurpleXfer *xfer;
+ JabberStream *js = purple_connection_get_protocol_data(gc);
+
+ if( js-> googletalk) {
+ purple_debug_info("jabber", "Found Google Talk. Try to Send File Now..");
+ gtalk_xfer_send(gc, who, file);
+ return;
+ }
+ else
+ purple_debug_info("Jabber", "Not Google Talk..Something is Broken..\n");
xfer = jabber_si_new_xfer(gc, who);
More information about the Commits
mailing list