Some more points to add the additional_data property

This commit is contained in:
tmolitor 2016-09-05 16:12:23 +02:00
parent 86345055cc
commit efa8bb6598
1 changed files with 4 additions and 0 deletions

View File

@ -1826,6 +1826,7 @@ class StanzaReceivedEvent(nec.NetworkIncomingEvent):
def init(self): def init(self):
self.additional_data = {} self.additional_data = {}
def generate(self): def generate(self):
return True return True
@ -1833,6 +1834,9 @@ class StanzaSentEvent(nec.NetworkIncomingEvent):
name = 'stanza-sent' name = 'stanza-sent'
base_network_events = [] base_network_events = []
def init(self):
self.additional_data = {}
class AgentRemovedEvent(nec.NetworkIncomingEvent): class AgentRemovedEvent(nec.NetworkIncomingEvent):
name = 'agent-removed' name = 'agent-removed'
base_network_events = [] base_network_events = []