]> cat aescling's git repositories - mastodon.git/commitdiff
Fix local distribution of edited statuses (#17380)
authorClaire <claire.github-309c@sitedethib.com>
Wed, 26 Jan 2022 19:53:50 +0000 (20:53 +0100)
committerGitHub <noreply@github.com>
Wed, 26 Jan 2022 19:53:50 +0000 (20:53 +0100)
Because `FanOutOnWriteService#update?` was broken, edits were considered as new
toots and a regular `update` payload was sent.

app/services/fan_out_on_write_service.rb

index f62f78a790f64076245cd2baf41bf378d69d5795..3a2e82b6dd939360f5e2c7d3eea86ab1d2f505a2 100644 (file)
@@ -119,7 +119,7 @@ class FanOutOnWriteService < BaseService
   end
 
   def update?
-    @is_update
+    @options[:update]
   end
 
   def broadcastable?