File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Sources/StreamChatSwiftUI/ChatChannel/MessageList Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
33
44# Upcoming
55
6- ### π Changed
6+ ### π Fixed
7+ - Some links not being rendered correctly
78
89# [ 4.43.0] ( https://github.com/GetStream/stream-chat-swiftui/releases/tag/4.43.0 )
910_ November 20, 2023_
Original file line number Diff line number Diff line change @@ -62,7 +62,9 @@ extension MessageTypeResolving {
6262 }
6363
6464 public func hasLinkAttachment( message: ChatMessage ) -> Bool {
65- !message. linkAttachments. isEmpty
65+ message. allAttachments. contains ( where: { attachment in
66+ attachment. type == . linkPreview
67+ } )
6668 }
6769
6870 public func hasFileAttachment( message: ChatMessage ) -> Bool {
You canβt perform that action at this time.
0 commit comments