From a70f2f0c74362b0b2d16b31b9b3ce66da9ce4b47 Mon Sep 17 00:00:00 2001
From: Ruben Pollan <meskio@sindominio.net>
Date: Fri, 12 Jun 2015 18:47:02 +0200
Subject: [PATCH] [bug] fix a typo in the usage ISoledadPostSyncPlugin

The variable was renamed in the definition but not where it's used.

* Related: #7138
---
 client/src/leap/soledad/client/api.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/client/src/leap/soledad/client/api.py b/client/src/leap/soledad/client/api.py
index 3cc1f8a5..6c2b3673 100644
--- a/client/src/leap/soledad/client/api.py
+++ b/client/src/leap/soledad/client/api.py
@@ -664,7 +664,7 @@ class Soledad(object):
             # Post-Sync Hooks
             if docs:
                 iface = soledad_interfaces.ISoledadPostSyncPlugin
-                suitable_plugins = collect_plugins(synced_plugin)
+                suitable_plugins = collect_plugins(iface)
                 for plugin in suitable_plugins:
                     watched = plugin.watched_doc_types
                     r = [filter(
-- 
GitLab