DEV: publish an event update on hooks

DEV: publish an event update on hooks

diff --git a/jobs/regular/discourse_post_event/event_ended.rb b/jobs/regular/discourse_post_event/event_ended.rb
index f19ef5c..2ab07d5 100644
--- a/jobs/regular/discourse_post_event/event_ended.rb
+++ b/jobs/regular/discourse_post_event/event_ended.rb
@@ -7,6 +7,7 @@ module Jobs
     def execute(args)
       raise Discourse::InvalidParameters.new(:event_id) if args[:event_id].blank?
       event = DiscoursePostEvent::Event.find(args[:event_id])
+      event.publish_update!
       DiscourseEvent.trigger(:discourse_post_event_event_ended, event)
     end
   end
diff --git a/jobs/regular/discourse_post_event/event_started.rb b/jobs/regular/discourse_post_event/event_started.rb
index db81ec2..b9f6737 100644
--- a/jobs/regular/discourse_post_event/event_started.rb
+++ b/jobs/regular/discourse_post_event/event_started.rb
@@ -7,6 +7,7 @@ module Jobs
     def execute(args)
       raise Discourse::InvalidParameters.new(:event_id) if args[:event_id].blank?
       event = DiscoursePostEvent::Event.find(args[:event_id])
+      event.publish_update!
       DiscourseEvent.trigger(:discourse_post_event_event_started, event)
     end
   end
diff --git a/jobs/regular/discourse_post_event/event_will_start.rb b/jobs/regular/discourse_post_event/event_will_start.rb
index 362c4cd..e6ce88f 100644
--- a/jobs/regular/discourse_post_event/event_will_start.rb
+++ b/jobs/regular/discourse_post_event/event_will_start.rb
@@ -7,6 +7,7 @@ module Jobs
     def execute(args)
       raise Discourse::InvalidParameters.new(:event_id) if args[:event_id].blank?
       event = DiscoursePostEvent::Event.find(args[:event_id])
+      event.publish_update!
       DiscourseEvent.trigger(:discourse_post_event_event_will_start, event)
     end
   end

GitHub sha: 306aa9dc