Added auto(dis)connect params + misc

- parameters,xmlui: "bool" type is now managed
- parameters,xmlui: categories now use label in addition of name
- QuickFrontend: auto(dis)connection management
- plugin XEP-0045: an error dialog is now show in frontend if room cannot be joined
- Wix: fixed unproper close event management
This commit is contained in:
Goffi 2010-08-18 15:57:26 +08:00
commit 007f12d2ae

View file

@ -96,8 +96,9 @@ class XEP_0045():
def __err_joining_room(self, failure, profile):
"""Called when something is going wrong when joining the room"""
error ("Error when joining the room")
#TODO: gof: send an error message throught the bridge
mess = _("Error when joining the room")
error (mess)
self.host.bridge.newAlert(mess, _("Group chat error"), "ERROR", profile)
def getRoomJoined(self, profile_key='@DEFAULT@'):
"""Return room where user is"""