Mercurial > libervia-backend
diff plugins/plugin_xep_0045.py @ 183:9ee4a1d0d7fb
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
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Aug 2010 15:57:26 +0800 |
parents | 7201851d9aed |
children | 3d7a06fe3997 |
line wrap: on
line diff
--- a/plugins/plugin_xep_0045.py Wed Aug 18 12:45:48 2010 +0800 +++ b/plugins/plugin_xep_0045.py Wed Aug 18 15:57:26 2010 +0800 @@ -96,8 +96,9 @@ 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"""