fix sending receipts. Fixes #7548
This commit is contained in:
		
							parent
							
								
									f405228041
								
							
						
					
					
						commit
						1e8c3d75e0
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -1169,6 +1169,9 @@ class ConnectionHandlersBase: | ||||||
|         contact = gajim.contacts.get_contact(self.name, obj.jid) |         contact = gajim.contacts.get_contact(self.name, obj.jid) | ||||||
|         nick = obj.resource |         nick = obj.resource | ||||||
|         gc_contact = gajim.contacts.get_gc_contact(self.name, obj.jid, nick) |         gc_contact = gajim.contacts.get_gc_contact(self.name, obj.jid, nick) | ||||||
|  |         if obj.sent: | ||||||
|  |             jid_to = obj.stanza.getFrom() | ||||||
|  |         else: | ||||||
|             jid_to = obj.stanza.getTo() |             jid_to = obj.stanza.getTo() | ||||||
|         reply = False |         reply = False | ||||||
|         if not jid_to: |         if not jid_to: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue