Remove a very suspicious line. Maybe I introduce bugs here.
I remove this line because it makes no sense to assume that we have joind a groupchat, just because someone request a VCard for a jid which pretends to be from a Groupchat.
This commit is contained in:
		
							parent
							
								
									8eb48d4533
								
							
						
					
					
						commit
						76013a044b
					
				
					 1 changed files with 0 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1097,9 +1097,6 @@ class ConnectionVcard:
 | 
			
		|||
			j = gajim.get_jid_from_account(self.name)
 | 
			
		||||
		self.awaiting_answers[id_] = (VCARD_ARRIVED, j, groupchat_jid)
 | 
			
		||||
		if groupchat_jid:
 | 
			
		||||
			room_jid = gajim.get_room_and_nick_from_fjid(groupchat_jid)[0]
 | 
			
		||||
			if not room_jid in self.room_jids:
 | 
			
		||||
				self.room_jids.append(room_jid)
 | 
			
		||||
			self.groupchat_jids[id_] = groupchat_jid
 | 
			
		||||
		self.connection.send(iq)
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue