From efa8bb6598ecfbbadc2868de2adc95ed56b4f36c Mon Sep 17 00:00:00 2001 From: tmolitor Date: Mon, 5 Sep 2016 16:12:23 +0200 Subject: [PATCH] Some more points to add the additional_data property --- src/common/connection_handlers_events.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/connection_handlers_events.py b/src/common/connection_handlers_events.py index 15468e0e7..7b21f9170 100644 --- a/src/common/connection_handlers_events.py +++ b/src/common/connection_handlers_events.py @@ -1826,12 +1826,16 @@ class StanzaReceivedEvent(nec.NetworkIncomingEvent): def init(self): self.additional_data = {} + def generate(self): return True class StanzaSentEvent(nec.NetworkIncomingEvent): name = 'stanza-sent' base_network_events = [] + + def init(self): + self.additional_data = {} class AgentRemovedEvent(nec.NetworkIncomingEvent): name = 'agent-removed'