Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dequis/purple-facebook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2018-02-14 12:59:36 +0300
committerdequis <dx@dxzone.com.ar>2018-02-14 12:59:36 +0300
commitdc655d0556929cbbb0efbad360600d5987d740c5 (patch)
tree56158f64db6d382b29271ccac077806cf5044eda
parentc22b43bb5ec33d926159e7e50cf8e81594c1bd20 (diff)
Fix login hang after fetching the contact list
-rw-r--r--patches/11-contacts.patch11
1 files changed, 11 insertions, 0 deletions
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);
+ }
+