Philipp Hörist pushed to branch master at gajim / gajim
Commits:
eb6762a4 by Daniel Brötzmann at 2019-04-24T20:56:06Z
Display server in remote-server-not-found error dialog
- - - - -
2 changed files:
- gajim/common/modules/discovery.py
- gajim/dialog_messages.py
Changes:
=====================================
gajim/common/modules/discovery.py
=====================================
@@ -296,7 +296,11 @@ class Discovery(BaseModule):
self._log.info('MUC disco error: %s', error)
app.nec.push_incoming_event(
InformationEvent(
- None, dialog_name='unable-join-groupchat', args=error))
+ None,
+ dialog_name='unable-join-groupchat',
+ kwargs={
+ 'server':stanza.getFrom(),
+ 'error': error}))
return
self._log.info('MUC info received: %s', stanza.getFrom())
=====================================
gajim/dialog_messages.py
=====================================
@@ -108,8 +108,8 @@ messages = {
ErrorDialog),
'unable-join-groupchat': Message(
- _('Unable to join Groupchat'),
- '%s',
+ _('Unable to Join Group Chat'),
+ '%(server)s\n%(error)s',
ErrorDialog),
'gstreamer-error': Message(
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/eb6762a461b946b4853367ac11eb068a88e2e7b6
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/eb6762a461b946b4853367ac11eb068a88e2e7b6
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits