diff --git a/Pachyderm/Sources/Pachyderm/Model/Protocols/StatusProtocol.swift b/Pachyderm/Sources/Pachyderm/Model/Protocols/StatusProtocol.swift index 345b20c5..afd49fde 100644 --- a/Pachyderm/Sources/Pachyderm/Model/Protocols/StatusProtocol.swift +++ b/Pachyderm/Sources/Pachyderm/Model/Protocols/StatusProtocol.swift @@ -20,8 +20,9 @@ public protocol StatusProtocol { var createdAt: Date { get } var reblogsCount: Int { get } var favouritesCount: Int { get } - var reblogged: Bool { get } - var favourited: Bool { get } + // pachyderm impl wants Bool, StatusMO wants optional. not sure how to resolve it, but we don't need this currently +// var reblogged: Bool { get } +// var favourited: Bool { get } var sensitive: Bool { get } var spoilerText: String { get } var visibility: Pachyderm.Status.Visibility { get } diff --git a/Pachyderm/Sources/Pachyderm/Model/Status.swift b/Pachyderm/Sources/Pachyderm/Model/Status.swift index 434e27ae..a5ee7c95 100644 --- a/Pachyderm/Sources/Pachyderm/Model/Status.swift +++ b/Pachyderm/Sources/Pachyderm/Model/Status.swift @@ -8,7 +8,7 @@ import Foundation -public final class Status: /*StatusProtocol,*/ Decodable { +public final class Status: StatusProtocol, Decodable { public let id: String public let uri: String public let url: URL?