quote notifs

This commit is contained in:
2458773093
2019-08-08 16:25:28 +03:00
parent c8ce87e4f9
commit 623fa7da80
4 changed files with 52 additions and 0 deletions

View File

@@ -59,6 +59,7 @@ class Notification < ApplicationRecord
def target_status
case type
when :reblog
return status if status&.quote?
status&.reblog
when :favourite
favourite&.status