blob: 92f92cc7d3d94e27687aa5164492995dcba44fdd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class MuteService < BaseService
def call(account, target_account)
return if account.id == target_account.id
FeedManager.instance.clear_from_timeline(account, target_account)
account.mute!(target_account)
end
end
|