FIX: correctly display pms if authorized

FIX: correctly display pms if authorized

diff --git a/app/controllers/discourse_calendar/post_events_controller.rb b/app/controllers/discourse_calendar/post_events_controller.rb
index da2dd33..5f1d2b2 100644
--- a/app/controllers/discourse_calendar/post_events_controller.rb
+++ b/app/controllers/discourse_calendar/post_events_controller.rb
@@ -20,12 +20,20 @@ module DiscourseCalendar
         .limit(100)
         .select('posts.topic_id')
 
-      secured_topic_ids = Topic
-        .visible
-        .listable_topics
-        .where(id: post_events_topics_ids)
-        .secured(guardian)
-        .select(:id)
+      secured_topic_ids = Topic.where(
+        id: Topic
+          .visible
+          .listable_topics
+          .secured(guardian)
+          .where(id: post_events_topics_ids)
+          .select(:id)
+      ).or(
+        Topic
+          .visible
+          .private_messages_for_user(current_user)
+          .secured(guardian)
+          .where(id: post_events_topics_ids)
+      ).select(:id)
 
       post_events = PostEvent
         .visible

GitHub sha: 22d8ab25