blob: efe6dd53917df041293fed18aa4683a092d9caf3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class MuteConversationWorker
include Sidekiq::Worker
def perform(account_id, conversation_id)
FeedManager.instance.unpush_conversation(Account.find(account_id), Conversation.find(conversation_id))
rescue ActiveRecord::RecordNotFound
true
end
end
|