about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/lib/bangtags.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/lib/bangtags.rb b/app/lib/bangtags.rb
index 01ad38f61..d7a39710b 100644
--- a/app/lib/bangtags.rb
+++ b/app/lib/bangtags.rb
@@ -6,7 +6,7 @@ class Bangtags
   def initialize(status)
     @status        = status
     @account       = status.account
-    @parent_status = Status.find(status.in_reply_to_id) if status.reply?
+    @parent_status = Status.find(status.in_reply_to_id) if status.in_reply_to_id
 
     @prefix_ns = {
       'permalink' => ['link'],