nicer patch
This commit is contained in:
		
							parent
							
								
									3f32315dd0
								
							
						
					
					
						commit
						bb89871657
					
				
					 1 changed files with 2 additions and 3 deletions
				
			
		|  | @ -981,10 +981,9 @@ class Connection: | |||
| 	def request_os_info(self, jid, resource): | ||||
| 		if not self.connection: | ||||
| 			return | ||||
| 		if resource: | ||||
| 			to_whom_jid = jid + '/' + resource | ||||
| 		else: | ||||
| 		to_whom_jid = jid | ||||
| 		if resource: | ||||
| 			to_whom_jid += '/' + resource | ||||
| 		iq = common.xmpp.Iq(to=to_whom_jid, typ = 'get', queryNS =\ | ||||
| 			common.xmpp.NS_VERSION) | ||||
| 		self.to_be_sent.insert(0, iq) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue