# HG changeset patch # User souliane # Date 1384701115 -3600 # Node ID 648511e42a69b80d4995a6c418e06cc407837f7b # Parent 6aa71c853bf52929d5653fddfc8bb9f2f9767cce bridge: removed plugin method definitions from the old static system diff -r 6aa71c853bf5 -r 648511e42a69 frontends/src/bridge/DBus.py --- a/frontends/src/bridge/DBus.py Fri Nov 15 15:27:03 2013 +0100 +++ b/frontends/src/bridge/DBus.py Sun Nov 17 16:11:55 2013 +0100 @@ -210,16 +210,3 @@ def updateContact(self, entity_jid, name, groups, profile_key="@DEFAULT@"): return self.db_core_iface.updateContact(entity_jid, name, groups, profile_key) - - -#methods from plugins - - def joinMUC(self, room_jid, nick, options, profile_key): - if options is None: - options = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature - return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key) - - def gatewayRegister(self, action, target, data, profile_key): - if data is None: - data = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature - return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key) \ No newline at end of file diff -r 6aa71c853bf5 -r 648511e42a69 src/bridge/bridge_constructor/dbus_frontend_template.py --- a/src/bridge/bridge_constructor/dbus_frontend_template.py Fri Nov 15 15:27:03 2013 +0100 +++ b/src/bridge/bridge_constructor/dbus_frontend_template.py Sun Nov 17 16:11:55 2013 +0100 @@ -94,16 +94,3 @@ return method(*args, **kwargs) return getPluginMethod -##METHODS_PART## - -#methods from plugins - - def joinMUC(self, room_jid, nick, options, profile_key): - if options is None: - options = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature - return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key) - - def gatewayRegister(self, action, target, data, profile_key): - if data is None: - data = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature - return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key)