Fix end events for mqtt (#4647)

This commit is contained in:
Nicolas Mowen 2022-12-08 18:00:44 -07:00 committed by GitHub
parent fee3418e60
commit bc52fc1e79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -720,7 +720,7 @@ class TrackedObjectProcessor(threading.Thread):
"after": obj.to_dict(),
"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)))