From 5a0ee5b22e9d726167350542acfc9d4ed7702c37 Mon Sep 17 00:00:00 2001 From: Eion Robb Date: Sat, 24 Oct 2015 11:21:18 +1300 Subject: [PATCH] Enable PFS Seems to be the only way to trigger all the events loop in libtgl --- telegram-purple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/telegram-purple.c b/telegram-purple.c index 19c55fd..c5614d7 100644 --- a/telegram-purple.c +++ b/telegram-purple.c @@ -623,6 +623,7 @@ static void tgprpl_login (PurpleAccount * acct) { } } + tgl_enable_pfs (TLS); tgl_set_ev_base (TLS, conn); tgl_set_net_methods (TLS, &tgp_conn_methods); tgl_set_timer_methods (TLS, &tgp_timers);