Sent a socks_closed when the socket is closed in the xep_0065 plugin.
This commit is contained in:
		| @@ -217,6 +217,9 @@ class xep_0065(base_plugin): | ||||
|  | ||||
|         proxy = self.proxy_threads.get(sid) | ||||
|         if proxy: | ||||
|             if not data: | ||||
|                 self.xmpp.event('socks_closed', sid) | ||||
|             else: | ||||
|                 self.xmpp.event('socks_recv', data) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Sandro Munda
					Sandro Munda