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,8 +94,7 @@ class XEP_0047(BasePlugin):
|
||||
|
||||
def _authorized(self, jid, sid, ifrom, iq):
|
||||
if self.auto_accept:
|
||||
if iq['ibb_open']['block_size'] <= self.max_block_size:
|
||||
return True
|
||||
return True
|
||||
return False
|
||||
|
||||
def _authorized_sid(self, jid, sid, ifrom, iq):
|
||||
|
Loading…
x
Reference in New Issue
Block a user