Flush body when POST requests (#5128)
This commit is contained in:
@ -12,7 +12,7 @@ class SendInteractionService < BaseService
|
||||
|
||||
return if !target_account.ostatus? || block_notification?
|
||||
|
||||
delivery = build_request.perform
|
||||
delivery = build_request.perform.flush
|
||||
|
||||
raise Mastodon::UnexpectedResponseError, delivery unless delivery.code > 199 && delivery.code < 300
|
||||
end
|
||||
|
Reference in New Issue
Block a user