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:
parent
b3bff009e8
commit
007f12d2ae
1 changed files with 125 additions and 59 deletions
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue