Skip to content

Commit 02bee14

Browse files
authored
Merge pull request #247 from aaronvegh/av/chat-lexicon-match-fix
Include record view for handling chat record defs
2 parents f0476be + af0dada commit 02bee14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Sources/ATProtoKit/Models/Lexicons/chat.bsky/Convo/ChatBskyConvoDefs.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ extension ChatBskyLexicon.Conversation {
217217
let type = try container.decodeIfPresent(String.self, forKey: .type)
218218

219219
switch type {
220-
case "app.bsky.embed.record":
220+
case "app.bsky.embed.record", "app.bsky.embed.record#view":
221221
self = .recordView(try AppBskyLexicon.Embed.RecordDefinition.View(from: decoder))
222222
default:
223223
let singleValueDecodingContainer = try decoder.singleValueContainer()

0 commit comments

Comments
 (0)