bridge: removed plugin method definitions from the old static system
This commit is contained in:
parent
a2a0f43450
commit
e10b53470d
2 changed files with 0 additions and 26 deletions
|
|
@ -210,16 +210,3 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
|
||||
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)
|
||||
|
|
@ -94,16 +94,3 @@ class DBusBridgeFrontend(BridgeFrontend):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue