plugin groupblog: subscriptions/notifications
This commit is contained in:
parent
41605b1425
commit
357374bcd2
1 changed files with 101 additions and 6 deletions
|
|
@ -131,6 +131,8 @@ class SatPubSubClient(pubsub.PubSubClient):
|
|||
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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue