1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
mastodon/app
NOGISAKA Sadata e050958794 Skip some methods in BatchedRemoveStatusService when account is nil (#10095)
* Skip some methods in BatchedRemoveStatusService when account is nil

Sometimes `bin/tootctl accounts cull` fails with below error:

undefined method `followers_for_local_distribution' for nil:NilClass (NoMethodError)

This commit makes BatchedRemoveStatusService to skip below methods when
`account` is nil:

- unpush_from_home_timelines()
- unpush_from_list_timelines()
- batch_stream_entries()

* Fix rubocop error: Use `next` to skip iteration.
2019-02-24 14:28:36 +01:00
..
chewy Improve image description user experience (#10036) 2019-02-14 01:04:43 +01:00
controllers Randomize emoji filename (#10090) 2019-02-22 16:52:04 +01:00
helpers I18n: Add language options for Kazakh and Lithuanian (#10104) 2019-02-23 22:20:35 +01:00
javascript Weblate translations (2019-02-23) (#10103) 2019-02-23 18:41:28 +01:00
lib Fix Announce activities of unknown statuses not fetching those statuses (#10065) 2019-02-17 15:16:36 +01:00
mailers Improve e-mail digest (#9689) 2019-01-02 10:47:32 +01:00
models correct opt-out showing application (#10086) 2019-02-20 17:47:38 +01:00
policies Redesign admin instances area (#9645) 2019-01-08 13:39:49 +01:00
presenters Don't count suspended users in user count (#9380) 2018-11-27 18:49:37 +01:00
serializers Add vapid_key to the application entity in the REST API (#10058) 2019-02-16 05:27:05 +01:00
services Skip some methods in BatchedRemoveStatusService when account is nil (#10095) 2019-02-24 14:28:36 +01:00
validators Add support for IPv6 only MXes in Email validation (#10009) 2019-02-12 14:48:04 +01:00
views Fix “reset” button of instance filter switching to custom emoji admin panel (#10076) 2019-02-19 14:01:22 +01:00
workers Filter incoming Create activities by relation to local activity (#10005) 2019-02-13 18:42:47 +01:00