diff src/core/xmpp.py @ 2497:38f472dbfcf0

core (client): set default timeout of IQ to 60 seconds
author Goffi <goffi@goffi.org>
date Wed, 28 Feb 2018 18:28:39 +0100
parents 0046283a285d
children d6de69da3dd4
line wrap: on
line diff
--- a/src/core/xmpp.py	Wed Feb 28 18:28:39 2018 +0100
+++ b/src/core/xmpp.py	Wed Feb 28 18:28:39 2018 +0100
@@ -263,7 +263,7 @@
 
     ## sending ##
 
-    def IQ(self, type_=u'set', timeout=None):
+    def IQ(self, type_=u'set', timeout=60):
         """shortcut to create an IQ element managing deferred
 
         @param type_(unicode): IQ type ('set' or 'get')