Fix end events for mqtt

This commit is contained in:
Nick Mowen 2022-12-08 13:46:40 -07:00
parent 2a5ab77637
commit 7f087f7994

View File

@ -720,7 +720,7 @@ class TrackedObjectProcessor(threading.Thread):
"after": obj.to_dict(), "after": obj.to_dict(),
"type": "end", "type": "end",
} }
self.dispatcher.publish("/events", json.dumps(message), retain=False) self.dispatcher.publish("events", json.dumps(message), retain=False)
self.event_queue.put(("end", camera, obj.to_dict(include_thumbnail=True))) self.event_queue.put(("end", camera, obj.to_dict(include_thumbnail=True)))