Display server in remote-server-not-found error dialog
This commit is contained in:
		
							parent
							
								
									04717274b3
								
							
						
					
					
						commit
						eb6762a461
					
				
					 2 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -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())
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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(
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue