plugin events: store interest_id in data:
ID of the item in list of interest is needed to correctly modify (and notably retract) an event.
This commit is contained in:
parent
099128918d
commit
0008d3478e
1 changed files with 1 additions and 0 deletions
|
|
@ -428,6 +428,7 @@ class Events(object):
|
|||
)
|
||||
else:
|
||||
timestamp, data = self._parseEventElt(event_elt)
|
||||
data["interest_id"] = item["id"]
|
||||
events.append((timestamp, data))
|
||||
defer.returnValue(events)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue