Remove dead code.
This commit is contained in:
parent
5608cad673
commit
a247bfc91f
|
@ -108,11 +108,6 @@ extension MastodonStatusPublisher: StatusPublisher {
|
|||
|
||||
// Task: attachment
|
||||
|
||||
let uploadContext = AttachmentViewModel.UploadContext(
|
||||
apiService: api,
|
||||
authContext: authContext
|
||||
)
|
||||
|
||||
var attachmentIDs: [Mastodon.Entity.Attachment.ID] = []
|
||||
for attachmentViewModel in attachmentViewModels {
|
||||
// set progress
|
||||
|
@ -161,11 +156,6 @@ extension MastodonStatusPublisher: StatusPublisher {
|
|||
guard pollOptions != nil else { return nil }
|
||||
return self.pollExpireConfigurationOption.seconds
|
||||
}()
|
||||
let pollMultiple: Bool? = {
|
||||
guard self.isPollComposing else { return nil }
|
||||
guard pollOptions != nil else { return nil }
|
||||
return self.pollMultipleConfigurationOption
|
||||
}()
|
||||
let inReplyToID: Mastodon.Entity.Status.ID? = try await api.backgroundManagedObjectContext.perform {
|
||||
guard let replyTo = self.replyTo?.object(in: api.backgroundManagedObjectContext) else { return nil }
|
||||
return replyTo.id
|
||||
|
|
Loading…
Reference in New Issue