prevent traceback
This commit is contained in:
parent
0d37f4f64b
commit
3a13f91162
|
@ -1604,6 +1604,8 @@ class Connection(ConnectionHandlers):
|
||||||
self.connection.send(iq)
|
self.connection.send(iq)
|
||||||
|
|
||||||
def _request_bookmarks_xml(self):
|
def _request_bookmarks_xml(self):
|
||||||
|
if not self.connection:
|
||||||
|
return
|
||||||
iq = common.xmpp.Iq(typ='get')
|
iq = common.xmpp.Iq(typ='get')
|
||||||
iq2 = iq.addChild(name='query', namespace=common.xmpp.NS_PRIVATE)
|
iq2 = iq.addChild(name='query', namespace=common.xmpp.NS_PRIVATE)
|
||||||
iq2.addChild(name='storage', namespace='storage:bookmarks')
|
iq2.addChild(name='storage', namespace='storage:bookmarks')
|
||||||
|
|
Loading…
Reference in New Issue