From dc655d0556929cbbb0efbad360600d5987d740c5 Mon Sep 17 00:00:00 2001 From: dequis Date: Wed, 14 Feb 2018 06:59:36 -0300 Subject: Fix login hang after fetching the contact list --- patches/11-contacts.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 patches/11-contacts.patch diff --git a/patches/11-contacts.patch b/patches/11-contacts.patch new file mode 100644 index 0000000..bcebf89 --- /dev/null +++ b/patches/11-contacts.patch @@ -0,0 +1,11 @@ +--- a/libpurple/protocols/facebook/api.c ++++ b/libpurple/protocols/facebook/api.c +@@ -2424,7 +2424,7 @@ + priv->contacts_delta = g_strdup(is_delta ? cursor : delta_cursor); + } + +- if (users) { ++ if (users || (complete && !is_delta)) { + g_signal_emit_by_name(api, "contacts", users, complete); + } + -- cgit v1.2.3