FIX: notifications should use event name if possible

FIX: notifications should use event name if possible

diff --git a/app/models/discourse_post_event/event.rb b/app/models/discourse_post_event/event.rb
index 3da8e5a..5c777db 100644
--- a/app/models/discourse_post_event/event.rb
+++ b/app/models/discourse_post_event/event.rb
@@ -180,7 +180,7 @@ module DiscoursePostEvent
         topic_id: post.topic_id,
         post_number: post.post_number,
         data: {
-          topic_title: post.topic.title,
+          topic_title: self.name || post.topic.title,
           display_username: post.user.username,
           message: message
         }.to_json
diff --git a/jobs/regular/discourse_post_event/send_reminder.rb b/jobs/regular/discourse_post_event/send_reminder.rb
index 2edacfc..dd8084b 100644
--- a/jobs/regular/discourse_post_event/send_reminder.rb
+++ b/jobs/regular/discourse_post_event/send_reminder.rb
@@ -46,7 +46,7 @@ module Jobs
           topic_id: event.post.topic_id,
           post_number: event.post.post_number,
           data: {
-            topic_title: event.post.topic.title,
+            topic_title: event.name || event.post.topic.title,
             display_username: invitee.user.username,
             message: "discourse_post_event.notifications.#{prefix}_event_reminder"
           }.to_json

GitHub sha: 52a99fcb