Skip to content

[Bug]: Date Header Not Showing for First Message in 1-on-1 Chat #3722

@akshay-finoit

Description

@akshay-finoit

Actual behaviour

When sending a text message as the first message in a 1-on-1 chat, the date header ("To Date") that typically groups messages by date does not appear.

  • If more messages are sent afterward, the date header starts appearing as expected.
  • This issue is consistently reproducible when starting a fresh chat session.
  • This is also reproduced in Demo App.

Expected behaviour

The date header should be visible immediately after the first message is sent, to indicate the date of the conversation — just like it does for subsequent messages.

Steps to reproduce

1) Launch the app.
2) Tap the "+" button to start a new 1-on-1 chat.
3) Select a user to chat with.
4) Send a text message as the first message.
5) Observe that the message is sent but no date header appears.
6) Send additional messages and note that the date header begins to display correctly.

Which packages are you using?

StreamChat, StreamChatUI

Which SDK version are you using?

4.80.0

Which iOS version is the issue reproducible?

18.3 (Likely reproducible on other versions as well)

Which iPhone Device is the issue reproducible?

iPhone 13 Pro

Which Xcode version are you using?

XCode 16.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐞 BugAn issue or PR related to a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions