XEP-0047: don’t answer with an unauthorized error when block-size is too big.
This commit is contained in:
parent
c1f23b566b
commit
aa022204ee
@ -94,7 +94,6 @@ class XEP_0047(BasePlugin):
|
|||||||
|
|
||||||
def _authorized(self, jid, sid, ifrom, iq):
|
def _authorized(self, jid, sid, ifrom, iq):
|
||||||
if self.auto_accept:
|
if self.auto_accept:
|
||||||
if iq['ibb_open']['block_size'] <= self.max_block_size:
|
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user