diff sat/plugins/plugin_xep_0384.py @ 2745:3ee396b2ecf3

plugin XEP-0384: don't ignore StanzaError if it's not item-not-found
author Goffi <goffi@goffi.org>
date Fri, 04 Jan 2019 09:20:32 +0100
parents e6716d90c2fe
children ae495f27b316
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0384.py	Thu Jan 03 21:04:55 2019 +0100
+++ b/sat/plugins/plugin_xep_0384.py	Fri Jan 04 09:20:32 2019 +0100
@@ -640,6 +640,7 @@
             if e.condition == 'item-not-found':
                 log.info(_(u"there is no node to handle OMEMO devices"))
                 defer.returnValue(set())
+            raise e
 
         devices = self.parseDevices(items)
         defer.returnValue(devices)