From dc8e5eae2c7a478090016b3bf54338ea89ea690b Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 12 Dec 2019 05:38:08 -0600 Subject: better key constraints on imported statuses, sharekeys, & normalized statuses tables --- app/services/post_status_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/services') diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 8b0f8ac05..dc1a3bcdc 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -130,7 +130,7 @@ class PostStatusService < BaseService end def unfilter_thread_on_reply - Redis.current.srem("filtered_threads:#{@account.id}", @in_reply_to.conversation_id) + ConversationKick.where(account_id: @in_reply_to.account_id, conversation: @in_reply_to.conversation_id).destroy_all end def inherit_reply_rejection -- cgit