Some more points to add the additional_data property
This commit is contained in:
		
							parent
							
								
									86345055cc
								
							
						
					
					
						commit
						efa8bb6598
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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'
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue