From c0569ec17ede7bf5dcdb5102810ad2d6153b603c Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Thu, 18 Jan 2018 19:56:09 +0100 Subject: Gadu-Gadu: * force SSL and manual hosts * force keeping connection allive * send ping only once per minute * overwirte old servers list * version bump --- protocols/Gadu-Gadu/src/gg.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'protocols/Gadu-Gadu/src/gg.cpp') diff --git a/protocols/Gadu-Gadu/src/gg.cpp b/protocols/Gadu-Gadu/src/gg.cpp index 52dfd08679..958d7a5bac 100644 --- a/protocols/Gadu-Gadu/src/gg.cpp +++ b/protocols/Gadu-Gadu/src/gg.cpp @@ -191,6 +191,14 @@ void GGPROTO::cleanuplastplugin(DWORD version) FindClose(hFind); } } + + //2. force SSL and keepalive; overwrite old server list; + if (version < PLUGIN_MAKE_VERSION(0, 11, 0, 4)) { + setString(GG_KEY_SERVERHOSTS, GG_KEYDEF_SERVERHOSTS); + setByte(GG_KEY_MANUALHOST, 1); + setByte(GG_KEY_SSLCONN, 1); + setByte(GG_KEY_KEEPALIVE, 1); + } } ////////////////////////////////////////////////////////// -- cgit v1.2.3