Mercurial > libervia-backend
comparison frontends/sat_bridge_frontend/DBus.py @ 78:ace2af8abc5a
Added method to know which MUC are joined, and which subjects were received.
- plugin xep-0045: new methods getRoomJoined and getRoomSubjects
- wix: room joined are openned and subjects are set on profile plug
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 31 Mar 2010 17:16:27 +1100 |
parents | f271fff3a713 |
children | fc7583282d40 |
comparison
equal
deleted
inserted
replaced
77:1ae680f9682e | 78:ace2af8abc5a |
---|---|
108 | 108 |
109 def confirmationAnswer(self, id, accepted, data): | 109 def confirmationAnswer(self, id, accepted, data): |
110 return self.db_req_iface.confirmationAnswer(id, accepted, data) | 110 return self.db_req_iface.confirmationAnswer(id, accepted, data) |
111 | 111 |
112 #methods from plugins | 112 #methods from plugins |
113 def getRoomJoined(self, profile_key='@DEFAULT@'): | |
114 return self.db_comm_iface.getRoomJoined(profile_key) | |
115 | |
116 def getRoomSubjects(self, profile_key='@DEFAULT@'): | |
117 return self.db_comm_iface.getRoomSubjects(profile_key) | |
118 | |
113 def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'): | 119 def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'): |
114 return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key) | 120 return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key) |
115 | 121 |
116 def sendFile(self, to, path, profile_key='@DEFAULT@'): | 122 def sendFile(self, to, path, profile_key='@DEFAULT@'): |
117 return self.db_comm_iface.sendFile(to, path, profile_key) | 123 return self.db_comm_iface.sendFile(to, path, profile_key) |