This website works better with JavaScript.
Home
Explore
Help
Sign In
nekobus
/
mastodon_neko
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Mitigate inconsistent notifications
master
Eugen
7 years ago
committed by
GitHub
parent
61aee0006e
commit
cea9fb31fe
1 changed files
with
2 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-2
app/models/notification.rb
+ 2
- 2
app/models/notification.rb
View File
@ -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
Write
Preview
Loading…
Cancel
Save