Fix another bug where the app could crash on launch if the access token had expired. (#4733)

Updates the SDK.
This commit is contained in:
Doug
2025-11-11 15:29:23 +00:00
committed by GitHub
parent 8088cb1a7c
commit 2be321862f
6 changed files with 364 additions and 149 deletions
@@ -49,7 +49,7 @@ struct RoomTimelineItemFactory: RoomTimelineItemFactoryProtocol {
case .failedToParseState(let eventType, _, let error):
return buildUnsupportedTimelineItem(eventItemProxy, eventType, error, isOutgoing)
case .state(_, let content):
if isDM, content == .roomCreate {
if isDM, case .roomCreate = content {
return nil
}
return buildStateTimelineItem(for: eventItemProxy, state: content, isOutgoing: isOutgoing)