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