changeset 31530:aee75010c188

jabber: This seems slightly more straightforward to me.
author Paul Aurich <paul@darkrain42.org>
date Tue, 03 May 2011 05:32:23 +0000
parents 79ae7200a11a
children 5e574e30256b
files libpurple/protocols/jabber/si.c
diffstat 1 files changed, 3 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/protocols/jabber/si.c	Tue May 03 05:31:38 2011 +0000
+++ b/libpurple/protocols/jabber/si.c	Tue May 03 05:32:23 2011 +0000
@@ -1798,15 +1798,12 @@
 		if (cid) {
 			jabber_data_request(js, cid, purple_xfer_get_remote_user(xfer),
 			    NULL, TRUE, jabber_si_thumbnail_cb, xfer);
-		} else {
-			purple_xfer_request(xfer);
+			return;
 		}
-	} else {
-		purple_xfer_request(xfer);
 	}
-#else
+#endif
+
 	purple_xfer_request(xfer);
-#endif
 }
 
 void