support version 2 of message carbons
This commit is contained in:
		
							parent
							
								
									5ef5a04787
								
							
						
					
					
						commit
						a496c8004d
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1047,7 +1047,7 @@ class MessageReceivedEvent(nec.NetworkIncomingEvent, HelperEvent): | |||
|                 namespace=nbxmpp.NS_CARBONS) | ||||
|         # Be sure it comes from one of our resource, else ignore forward element | ||||
|         if carbon_marker and self.jid == gajim.get_jid_from_account(account): | ||||
|             forward_tag = self.stanza.getTag('forwarded', | ||||
|             forward_tag = carbon_marker.getTag('forwarded', | ||||
|                 namespace=nbxmpp.NS_FORWARD) | ||||
|             if forward_tag: | ||||
|                 msg = forward_tag.getTag('message') | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue