Issue Description:
There is a noticeable delay in message visibility in chats that contain many messages, compared to chats that have only one or two messages.
Steps to Reproduce:
1.Open a chat with a large number of messages.
2.Send or receive a new message.
3.Observe the time it takes for the message to appear.
4.Repeat the same steps in a chat with only one or two messages.
Expected Result:
New messages should appear instantly, regardless of the number of existing messages in the chat.
Actual Result:
There is a slight delay in message visibility in chats with many messages, while chats with fewer messages show messages immediately.
Issue Description:
There is a noticeable delay in message visibility in chats that contain many messages, compared to chats that have only one or two messages.
Steps to Reproduce:
1.Open a chat with a large number of messages.
2.Send or receive a new message.
3.Observe the time it takes for the message to appear.
4.Repeat the same steps in a chat with only one or two messages.
Expected Result:
New messages should appear instantly, regardless of the number of existing messages in the chat.
Actual Result:
There is a slight delay in message visibility in chats with many messages, while chats with fewer messages show messages immediately.