Skip to content

Index out of range #3498

@TMABC

Description

@TMABC

What did you do?

On updating to 4.66.0 I get a crash (fatal error: Index out of range) in LazyCachedMapCollection with 'subscript(position: Index) -> Element'. Occurs when I Thread Reply to a message

What did you expect to happen?

Checks whether the array is empty

GetStream Environment

**GetStream Chat version:4.66.0
GetStream Chat frameworks: StreamChat, StreamChatSwiftUI
iOS version:
**Swift version:swift 5.9
**Xcode version:15.2
**Device:mac catalyst

Additional context

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions