diff sat/bridge/dbus_bridge.py @ 2894:c7c52c0dc13a

core, quick_frontend(app): fixed connected signal handling
author Goffi <goffi@goffi.org>
date Sun, 07 Apr 2019 20:55:27 +0200
parents 82b781c46841
children ab2696e34d29
line wrap: on
line diff
--- a/sat/bridge/dbus_bridge.py	Sun Apr 07 18:50:13 2019 +0200
+++ b/sat/bridge/dbus_bridge.py	Sun Apr 07 20:55:27 2019 +0200
@@ -140,7 +140,7 @@
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
                          signature='ss')
-    def connected(self, profile, jid_s):
+    def connected(self, jid_s, profile):
         pass
 
     @dbus.service.signal(const_INT_PREFIX+const_CORE_SUFFIX,
@@ -698,8 +698,8 @@
     def actionNew(self, action_data, id, security_limit, profile):
         self.dbus_bridge.actionNew(action_data, id, security_limit, profile)
 
-    def connected(self, profile, jid_s):
-        self.dbus_bridge.connected(profile, jid_s)
+    def connected(self, jid_s, profile):
+        self.dbus_bridge.connected(jid_s, profile)
 
     def contactDeleted(self, entity_jid, profile):
         self.dbus_bridge.contactDeleted(entity_jid, profile)