Skip to content
Snippets Groups Projects
Commit cea9fb31 authored by Eugen's avatar Eugen Committed by GitHub
Browse files

Mitigate inconsistent notifications

parent 61aee000
No related branches found
No related tags found
No related merge requests found
......@@ -39,9 +39,9 @@ class Notification < ApplicationRecord
def target_status
case type
when :reblog
activity.reblog
activity&.reblog
when :favourite, :mention
activity.status
activity&.status
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment