Dynamic signal addition in bridge
- DBus: new addSignal method - plugins XEP-0045: roomJoined is now a dynamically added signal
This commit is contained in:
parent
724a97b14d
commit
af23265ee0
1 changed files with 20 additions and 6 deletions
|
|
@ -69,6 +69,7 @@ class XEP_0045():
|
|||
self.host = host
|
||||
self.clients={}
|
||||
host.bridge.addMethod("joinMUC", ".communication", in_sign='ssss', out_sign='', method=self.join)
|
||||
host.bridge.addSignal("roomJoined", ".communication", signature='ssasss') #args: room_id, room_service, room_nicks, user_nick, profile
|
||||
|
||||
def __check_profile(self, profile):
|
||||
if not profile or not self.clients.has_key(profile) or not self.host.isConnected(profile):
|
||||
|
|
|
|||
Loading…
Reference in a new issue