From f9ae531b4806902ff089aed98711d6872975d6a4 Mon Sep 17 00:00:00 2001 From: Nathan Mattes Date: Tue, 23 Jan 2024 10:31:05 +0100 Subject: [PATCH] Don't download edit-history (#1138) It was needed in the past when `editHistory` also persisted the history in CoreData. But as we don't use CoreData anymore... --- .../Service/API/APIService+Status+History.swift | 7 ------- 1 file changed, 7 deletions(-) diff --git a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Status+History.swift b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Status+History.swift index 46ec1b9d4..3ce5905ea 100644 --- a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Status+History.swift +++ b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Status+History.swift @@ -50,13 +50,6 @@ extension APIService { domain: domain, authorization: authorization).singleOutput() - _ = try await Mastodon.API.Statuses.editHistory( - forStatusID: statusID, - session: session, - domain: domain, - authorization: authorization - ).singleOutput() - return response } }