Fix emoji_reaction caching
This commit is contained in:
parent
701163237e
commit
882973da4c
2 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,11 @@ class UnEmojiReactService < BaseService
|
|||
|
||||
if emoji_reaction
|
||||
emoji_reaction.destroy!
|
||||
|
||||
# rubocop:disable Rails/SkipsModelValidations
|
||||
status.touch
|
||||
# rubocop:enable Rails/SkipsModelValidations
|
||||
|
||||
create_notification(emoji_reaction) if !@status.account.local? && @status.account.activitypub?
|
||||
notify_to_followers(emoji_reaction) if @status.account.local?
|
||||
write_stream(emoji_reaction)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue