gab-social/app/services/unmute_chat_messenger_service.rb

9 lines
220 B
Ruby
Raw Normal View History

2020-12-10 16:51:45 +00:00
# frozen_string_literal: true
class UnmuteChatMessengerService < BaseService
def call(account, target_account)
return unless account.chat_muting?(target_account)
account.chat_unmute!(target_account)
end
end