summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slixmpp/plugins/xep_0047/ibb.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/slixmpp/plugins/xep_0047/ibb.py b/slixmpp/plugins/xep_0047/ibb.py
index aa4e6afc..958d1544 100644
--- a/slixmpp/plugins/xep_0047/ibb.py
+++ b/slixmpp/plugins/xep_0047/ibb.py
@@ -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):