diff --git a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Thread.swift b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Thread.swift index e2375e8dc..d655a7e5c 100644 --- a/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Thread.swift +++ b/MastodonSDK/Sources/MastodonCore/Service/API/APIService+Thread.swift @@ -81,31 +81,31 @@ extension APIService { ) } - let responseTwo = try await Mastodon.API.Statuses.statusContext( - session: session, - domain: domain, - statusID: statusID, - authorization: authorization - ).singleOutput() - - try await managedObjectContext.performChanges { - let me = authenticationBox.authenticationRecord.object(in: managedObjectContext)?.user - let value = responseTwo.value.ancestors + responseTwo.value.descendants - - for entity in value { - _ = Persistence.Status.createOrMerge( - in: managedObjectContext, - context: Persistence.Status.PersistContext( - domain: domain, - entity: entity, - me: me, - statusCache: nil, - userCache: nil, - networkDate: responseTwo.networkDate - ) - ) - } - } +// let responseTwo = try await Mastodon.API.Statuses.statusContext( +// session: session, +// domain: domain, +// statusID: statusID, +// authorization: authorization +// ).singleOutput() +// +// try await managedObjectContext.performChanges { +// let me = authenticationBox.authenticationRecord.object(in: managedObjectContext)?.user +// let value = responseTwo.value.ancestors + responseTwo.value.descendants +// +// for entity in value { +// _ = Persistence.Status.createOrMerge( +// in: managedObjectContext, +// context: Persistence.Status.PersistContext( +// domain: domain, +// entity: entity, +// me: me, +// statusCache: nil, +// userCache: nil, +// networkDate: responseTwo.networkDate +// ) +// ) +// } +// } var result: Status? try await managedObjectContext.perform {