FIX: Fix NotificationSerializer.

FIX: Fix NotificationSerializer.

diff --git a/plugin.rb b/plugin.rb
index 941a31c..2278a76 100644
--- a/plugin.rb
+++ b/plugin.rb
@@ -270,7 +270,7 @@ after_initialize do
   end
 
   add_to_serializer(:notification, :include_encrypted_title?) do
-    scope&.user.present? && object.topic.private_message?
+    scope&.user.present? && object&.topic&.private_message?
   end
 
   # +topic_key+

GitHub sha: a9d8a68b