# Dont group chat messages after certain period of time \(\#4186\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/7d1cb8b072c6eeeaee253a7158e323401cb529d5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 7d1cb8b072c6eeeaee253a7158e323401cb529d5

Requested commit: 7d1cb8b072c6eeeaee253a7158e323401cb529d5

Commit: 7d1cb8b072c6eeeaee253a7158e323401cb529d5

Tree: 3204d0323eb3f6456708686b2edf95bce138fca0

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Dont group chat messages after certain period of time (#4186)

<img width="447" alt="SCR-20240121-ofhg"
src="https://github.com/zed-industries/zed/assets/19867440/7fe13a74-45c7-43ec-a5e8-5127bc285b32">

In this screenshot, the first two messages were sent back-to-back, but
the third message was sent nearly two hours later. Coalescing the
messages doesn't feel right after a certain period of time, as it gives
misleading timestamps on messages. Discord has this feature, but I'm not
sure what the value they use is. I've set the threshold to 5 minutes for
now.

<img width="480" alt="SCR-20240121-oghs"
src="https://github.com/zed-industries/zed/assets/19867440/ee1cfe36-7c13-4072-9f66-93e2de6542f1">

Release Notes:

- Improved the grouping of chat messages from same user. Grouping now
only occurs if the user sends multiple messages, in succession, within a
specified duration of time.
```

## Parents

- [06a325dafd62786a61787860de2daa81c1063a89](https://git.cafe/gitcafe/zed/commit/06a325dafd62786a61787860de2daa81c1063a89?format=markdown)

- [24f6c434cffd611f090a218d6e505800a4243b09](https://git.cafe/gitcafe/zed/commit/24f6c434cffd611f090a218d6e505800a4243b09?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/7d1cb8b072c6eeeaee253a7158e323401cb529d5?format=markdown)
