plugin XEP-0277, group blog: added item2data trigger + group permission are parsed when receiving a new item
This commit is contained in:
parent
57d47b8e61
commit
6724b696bc
1 changed files with 14 additions and 0 deletions
|
|
@ -319,6 +319,10 @@ class XEP_0277(object):
|
|||
categories = (category_elt.getAttribute('term','') for category_elt in entry_elt.elements(NS_ATOM, 'category'))
|
||||
common.iter2dict('tag', categories, microblog_data)
|
||||
|
||||
## the trigger ##
|
||||
# if other plugins have things to add or change
|
||||
yield self.host.trigger.point("XEP-0277_item2data", item_elt, entry_elt, microblog_data)
|
||||
|
||||
defer.returnValue(microblog_data)
|
||||
|
||||
@defer.inlineCallbacks
|
||||
|
|
|
|||
Loading…
Reference in a new issue