| 
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -285,7 +285,7 @@ class ChatRoomGuest(models.Model):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        super().save(*args, **kwargs)
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        self.send_chat_notification()
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    def send_chat_notification(self):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        type_id = self.id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        type_id = self.room.id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        session_id = self.visitor.session_id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        title = "New chat on Ositcom!"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        body = f"Visitor {self.visitor.ip_address} started a new chat on Ositcom"
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
				
			
			 | 
			 | 
			
				@ -336,7 +336,7 @@ class ChatMessage(models.Model):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        if not self.member:
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				            self.send_message_notification()
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				    def send_message_notification(self):
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        type_id = self.id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        type_id = self.room.id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        session_id = self.room.chatroomguest.visitor.session_id
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        title =  f"Visitor {self.room.chatroomguest.visitor.ip_address} sent a new message on Ositcom!"
 | 
			
		
		
	
		
			
				 | 
				 | 
			
			 | 
			 | 
			
				        body = f"{self.content}"
 | 
			
		
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
			
			 | 
			 | 
			
				
 
 |