Merge branch 'master' into glitch-soc/merge-upstream
Conflicts: - `app/serializers/rest/account_serializer.rb`: Upstream added code too close to glitch-soc-specific followers-hiding code. Ported upstream changes.
This commit is contained in:
@@ -34,7 +34,7 @@ class Scheduler::ScheduledStatusesScheduler
|
||||
end
|
||||
|
||||
def unpublish_expired_announcements!
|
||||
expired_announcements.in_batches.update_all(published: false)
|
||||
expired_announcements.in_batches.update_all(published: false, scheduled_at: nil)
|
||||
end
|
||||
|
||||
def expired_announcements
|
||||
|
||||
Reference in New Issue
Block a user