Mercurial > libervia-backend
comparison frontends/src/bridge/DBus.py @ 709:648511e42a69
bridge: removed plugin method definitions from the old static system
author | souliane <souliane@mailoo.org> |
---|---|
date | Sun, 17 Nov 2013 16:11:55 +0100 |
parents | d731ae066158 |
children | f49945d728de |
comparison
equal
deleted
inserted
replaced
708:6aa71c853bf5 | 709:648511e42a69 |
---|---|
208 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"): | 208 def subscription(self, sub_type, entity, profile_key="@DEFAULT@"): |
209 return self.db_core_iface.subscription(sub_type, entity, profile_key) | 209 return self.db_core_iface.subscription(sub_type, entity, profile_key) |
210 | 210 |
211 def updateContact(self, entity_jid, name, groups, profile_key="@DEFAULT@"): | 211 def updateContact(self, entity_jid, name, groups, profile_key="@DEFAULT@"): |
212 return self.db_core_iface.updateContact(entity_jid, name, groups, profile_key) | 212 return self.db_core_iface.updateContact(entity_jid, name, groups, profile_key) |
213 | |
214 | |
215 #methods from plugins | |
216 | |
217 def joinMUC(self, room_jid, nick, options, profile_key): | |
218 if options is None: | |
219 options = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature | |
220 return self.db_plugin_iface.joinMUC(room_jid, nick, options, profile_key) | |
221 | |
222 def gatewayRegister(self, action, target, data, profile_key): | |
223 if data is None: | |
224 data = [('', '')] # XXX: we have to do this awful hack because python dbus need to guess the signature | |
225 return self.db_plugin_iface.gatewayRegister(action, target, data, profile_key) |