fix sending message to zeroconf from XML console. Fixes #5050
This commit is contained in:
		
							parent
							
								
									ba697a583f
								
							
						
					
					
						commit
						d51102112d
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -495,6 +495,8 @@ class ConnectionZeroconf(ConnectionHandlersZeroconf): | |||
| 		# send a stanza untouched | ||||
| 		if not self.connection: | ||||
| 			return | ||||
| 		if not isinstance(stanza, common.xmpp.Node): | ||||
| 			stanza = common.xmpp.Protocol(node=stanza) | ||||
| 		self.connection.send(stanza) | ||||
| 
 | ||||
| 	def ack_subscribed(self, jid): | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue