diff sat/plugins/plugin_xep_0060.py @ 3590:1269c2d788be

plugin XEP-0060: fix notification handling in `retractItems`
author Goffi <goffi@goffi.org>
date Thu, 29 Jul 2021 17:28:02 +0200
parents ed037c98df37
children d830c11eeef3
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0060.py	Thu Jul 29 17:26:59 2021 +0200
+++ b/sat/plugins/plugin_xep_0060.py	Thu Jul 29 17:28:02 2021 +0200
@@ -1069,7 +1069,7 @@
         notify=True,
     ):
         return client.pubsub_client.retractItems(
-            service, nodeIdentifier, itemIdentifiers, notify=True
+            service, nodeIdentifier, itemIdentifiers, notify=notify
         )
 
     def _renameItem(