Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0060.py @ 704:3c304929af74
plugin XEP-0277, group blogs: proper asynchronous methods for sending blogs.
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 14 Nov 2013 17:51:35 +0100 |
parents | 6f4c31192c7c |
children | 812dc38c0094 |
comparison
equal
deleted
inserted
replaced
703:0c2c1dfb79e4 | 704:3c304929af74 |
---|---|
138 def itemsReceived(self, event): | 138 def itemsReceived(self, event): |
139 if not self.host.trigger.point("PubSubItemsReceived", event, self.parent.profile): | 139 if not self.host.trigger.point("PubSubItemsReceived", event, self.parent.profile): |
140 return | 140 return |
141 for node in self.parent_plugin.managedNodes: | 141 for node in self.parent_plugin.managedNodes: |
142 if event.nodeIdentifier == node[0]: | 142 if event.nodeIdentifier == node[0]: |
143 return node[1](event, self.parent.profile) | 143 node[1](event, self.parent.profile) |
144 | 144 |
145 def deleteReceived(self, event): | 145 def deleteReceived(self, event): |
146 #TODO: manage delete event | 146 #TODO: manage delete event |
147 debug(_("Publish node deleted")) | 147 debug(_("Publish node deleted")) |
148 | 148 |