Mercurial > libervia-backend
diff 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 |
line wrap: on
line diff
--- a/frontends/sat_bridge_frontend/DBus.py Tue Mar 30 16:08:44 2010 +1100 +++ b/frontends/sat_bridge_frontend/DBus.py Wed Mar 31 17:16:27 2010 +1100 @@ -110,6 +110,12 @@ return self.db_req_iface.confirmationAnswer(id, accepted, data) #methods from plugins + def getRoomJoined(self, profile_key='@DEFAULT@'): + return self.db_comm_iface.getRoomJoined(profile_key) + + def getRoomSubjects(self, profile_key='@DEFAULT@'): + return self.db_comm_iface.getRoomSubjects(profile_key) + def joinMUC(self, service, roomId, nick, profile_key='@DEFAULT@'): return self.db_comm_iface.joinMUC(service, roomId, nick, profile_key)