From: Claire Date: Wed, 26 Jan 2022 19:53:50 +0000 (+0100) Subject: Fix local distribution of edited statuses (#17380) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=166cc5b89d60f8e2e1f748df86ff8a9003a4876e;p=mastodon.git Fix local distribution of edited statuses (#17380) Because `FanOutOnWriteService#update?` was broken, edits were considered as new toots and a regular `update` payload was sent. --- diff --git a/app/services/fan_out_on_write_service.rb b/app/services/fan_out_on_write_service.rb index f62f78a79..3a2e82b6d 100644 --- a/app/services/fan_out_on_write_service.rb +++ b/app/services/fan_out_on_write_service.rb @@ -119,7 +119,7 @@ class FanOutOnWriteService < BaseService end def update? - @is_update + @options[:update] end def broadcastable?