# Chat messages appearing in wrong order

**URL:** https://meta.discourse.org/t/chat-messages-appearing-in-wrong-order/316619
**Category:** Bug
**Tags:** chat
**Created:** [July 16, 2024, 5:51pm UTC](https://meta.discourse.org/t/chat-messages-appearing-in-wrong-order/316619 "2024-07-16T17:51:34Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![nat](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nat/32/235063_2.png) [@nat](https://meta.discourse.org/u/nat)
#### Post date: [July 22, 2024, 7:15am UTC](https://meta.discourse.org/t/chat-messages-appearing-in-wrong-order/316619/9 "2024-07-22T07:15:46Z")

</div>

Oh interesting use-case here with 50K users. (cc @davidb) I think this might be a hint to why you’re seeing things we’re not.

> [@sok777](#):
>
> Is there a way to clear chat messages or do some cleaning?

If you’re comfortable with going into the console, there might be something you can do with our `Chat::MessageDestroyer`. But there is currently no “only keep the last 10k messages in this channel” feature if that’s what you’re thinking of.

---

_[View the full topic](https://meta.discourse.org/t/chat-messages-appearing-in-wrong-order/316619)._
