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

Tomasz Wasilczyk <[email protected]>
Newsgroups gmane.comp.gnome.gaim.cvs
Message-ID <[email protected]>
Changeset: f99249837123c6d674ccd967b55b0850ff7e5656
Author:	 Tomasz Wasilczyk <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.