Commit eb6762a4 authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

Display server in remote-server-not-found error dialog

parent 04717274
...@@ -296,7 +296,11 @@ class Discovery(BaseModule): ...@@ -296,7 +296,11 @@ class Discovery(BaseModule):
self._log.info('MUC disco error: %s', error) self._log.info('MUC disco error: %s', error)
app.nec.push_incoming_event( app.nec.push_incoming_event(
InformationEvent( InformationEvent(
None, dialog_name='unable-join-groupchat', args=error)) None,
dialog_name='unable-join-groupchat',
kwargs={
'server':stanza.getFrom(),
'error': error}))
return return
self._log.info('MUC info received: %s', stanza.getFrom()) self._log.info('MUC info received: %s', stanza.getFrom())
......
...@@ -108,8 +108,8 @@ messages = { ...@@ -108,8 +108,8 @@ messages = {
ErrorDialog), ErrorDialog),
'unable-join-groupchat': Message( 'unable-join-groupchat': Message(
_('Unable to join Groupchat'), _('Unable to Join Group Chat'),
'%s', '%(server)s\n%(error)s',
ErrorDialog), ErrorDialog),
'gstreamer-error': Message( 'gstreamer-error': Message(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment