From e29bb751326b0bc5699c61a848ce886096074fb7 Mon Sep 17 00:00:00 2001 From: noellabo Date: Wed, 15 Dec 2021 11:42:05 +0900 Subject: [PATCH] Fix tootctl maintenance fix_remote_url (remove expires_at) --- lib/mastodon/maintenance_cli.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/mastodon/maintenance_cli.rb b/lib/mastodon/maintenance_cli.rb index 5913bed30..87ea03b01 100644 --- a/lib/mastodon/maintenance_cli.rb +++ b/lib/mastodon/maintenance_cli.rb @@ -318,7 +318,6 @@ module Mastodon media_attachments m INNER JOIN statuses s ON m.status_id = s.id AND s.deleted_at IS NULL - AND s.expires_at >= CURRENT_TIMESTAMP INNER JOIN accounts a ON s.account_id = a.id WHERE a.domain = $1