/pidgin/main: f99249837123: Gadu-Gadu: disable inline images for...

Tomasz Wasilczyk twasilczyk at pidgin.im
Tue May 20 06:51:26 EDT 2014


Changeset: f99249837123c6d674ccd967b55b0850ff7e5656
Author:	 Tomasz Wasilczyk <twasilczyk at pidgin.im>
Date:	 2014-05-20 12:51 +0200
Branch:	 default
URL: https://hg.pidgin.im/pidgin/main/rev/f99249837123

Description:

Gadu-Gadu: disable inline images for libgadu<1.12.0

diffstat:

 libpurple/protocols/gg/gg.c |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (18 lines):

diff --git a/libpurple/protocols/gg/gg.c b/libpurple/protocols/gg/gg.c
--- a/libpurple/protocols/gg/gg.c
+++ b/libpurple/protocols/gg/gg.c
@@ -672,8 +672,12 @@ static void ggp_login(PurpleAccount *acc
 	if (!ggp_deprecated_setup_proxy(gc))
 		return;
 
-	purple_connection_set_flags(gc, PURPLE_CONNECTION_FLAG_HTML |
-			PURPLE_CONNECTION_FLAG_NO_URLDESC);
+	purple_connection_set_flags(gc,
+#if ! GGP_ENABLE_GG11
+		PURPLE_CONNECTION_FLAG_NO_IMAGES |
+#endif
+		PURPLE_CONNECTION_FLAG_HTML |
+		PURPLE_CONNECTION_FLAG_NO_URLDESC);
 
 	glp = g_new0(struct gg_login_params, 1);
 #if GGP_ENABLE_GG11



More information about the Commits mailing list