diff src/plugins/plugin_xep_0060.py @ 477:031b0e0aaab8

plugin groupblog: subscriptions/notifications
author Goffi <goffi@goffi.org>
date Mon, 25 Jun 2012 00:08:16 +0200
parents cf005701624b
children 2a072735e459
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0060.py	Thu May 31 00:26:39 2012 +0200
+++ b/src/plugins/plugin_xep_0060.py	Mon Jun 25 00:08:16 2012 +0200
@@ -131,6 +131,8 @@
         pubsub.PubSubClient.connectionInitialized(self)
     
     def itemsReceived(self, event):
+        if not self.host.trigger.point("PubSubItemsReceived", event, self.parent.profile):
+            return
         for node in self.parent_plugin.managedNodes:
             if event.nodeIdentifier == node[0]:
                 return node[1](event, self.parent.profile)