emile 9 months ago
parent fb9e1e408f
commit a4acc678a4

Binary file not shown.

@ -123,7 +123,7 @@ class VisitorLog(models.Model):
self.send_visitorlog_notification() self.send_visitorlog_notification()
def send_visitorlog_notification(self): def send_visitorlog_notification(self):
notification = ChatMessage.objects.create( notification = ChatNotification.objects.create(
title=f"Visitor navigated to: {self.title}.", title=f"Visitor navigated to: {self.title}.",
image=self.visitor.flag_image_url image=self.visitor.flag_image_url
) )

Loading…
Cancel
Save