don't count echo as a file transfer proxy. Fixes #4411
This commit is contained in:
parent
f5ae955764
commit
223dc0a8f2
1 changed files with 22 additions and 18 deletions
|
@ -758,7 +758,11 @@ class ConnectionDisco:
|
||||||
if self.commandInfoQuery(con, iq_obj):
|
if self.commandInfoQuery(con, iq_obj):
|
||||||
raise common.xmpp.NodeProcessed
|
raise common.xmpp.NodeProcessed
|
||||||
|
|
||||||
else:
|
id = unicode(iq_obj.getAttr('id'))
|
||||||
|
if id[0] == 'p':
|
||||||
|
# We get this request from echo.server
|
||||||
|
raise common.xmpp.NodeProcessed
|
||||||
|
|
||||||
iq = iq_obj.buildReply('result')
|
iq = iq_obj.buildReply('result')
|
||||||
q = iq.getTag('query')
|
q = iq.getTag('query')
|
||||||
if node:
|
if node:
|
||||||
|
|
Loading…
Add table
Reference in a new issue