Add optional author-account (IOS-284)

This commit is contained in:
Nathan Mattes 2024-06-26 18:22:10 +02:00
parent 1a8fbe7692
commit 3adae7b3c3
1 changed files with 3 additions and 1 deletions

View File

@ -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"
} }
} }
} }