Backed out changeset 0dad513e58f5
This commit is contained in:
		
							parent
							
								
									441eb20a13
								
							
						
					
					
						commit
						99725d78ca
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2482,7 +2482,7 @@ class JoinGroupchatWindow:
 | 
			
		|||
            return
 | 
			
		||||
 | 
			
		||||
        if gajim.contacts.get_contact(self.account, room_jid) and \
 | 
			
		||||
        not gajim.contacts.get_contact(self.account, room_jid).is_transport():
 | 
			
		||||
        not gajim.contacts.get_contact(self.account, room_jid).is_groupchat():
 | 
			
		||||
            ErrorDialog(_('This is not a group chat'),
 | 
			
		||||
                _('%s is not the name of a group chat.') % room_jid)
 | 
			
		||||
            return
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1903,7 +1903,7 @@ class Interface:
 | 
			
		|||
        """
 | 
			
		||||
 | 
			
		||||
        if gajim.contacts.get_contact(account, room_jid) and \
 | 
			
		||||
        gajim.contacts.get_contact(account, room_jid).is_transport():
 | 
			
		||||
        not gajim.contacts.get_contact(account, room_jid).is_groupchat():
 | 
			
		||||
            dialogs.ErrorDialog(_('This is not a group chat'),
 | 
			
		||||
                _('%s is not the name of a group chat.') % room_jid)
 | 
			
		||||
            return
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue