Add optional author-account (IOS-284)
This commit is contained in:
parent
1a8fbe7692
commit
3adae7b3c3
|
@ -33,7 +33,8 @@ extension Mastodon.Entity {
|
|||
public let image: String?
|
||||
public let embedURL: String?
|
||||
public let blurhash: String?
|
||||
|
||||
public let authorAccount: Mastodon.Entity.Account?
|
||||
|
||||
enum CodingKeys: String, CodingKey {
|
||||
case url
|
||||
case title
|
||||
|
@ -49,6 +50,7 @@ extension Mastodon.Entity {
|
|||
case image
|
||||
case embedURL = "embed_url"
|
||||
case blurhash
|
||||
case authorAccount = "author_account"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue