# User can restore their own message what deleted by staff

**URL:** <https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484>\
**Category:** Bug\
**Tags:** chat\
**Created:** [June 15, 2023, 3:58pm UTC](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484 "2023-06-15T15:58:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)\
**Post date:** [June 15, 2023, 3:58pm UTC](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484/1 "2023-06-15T15:58:13Z")

</div>

Hello 👋

Repro:

1. Send messages with non-staff user (in this case I am TL1)  

2. After the staff deleted the messages, user see the following.  

3. User can restore the deleted messages.  

Thanks 🙂

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [July 13, 2023, 8:16am UTC](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484/2 "2023-07-13T08:16:37Z")

</div>

Good call thanks 👍

That should be fixed by this commit:

[https://github.com/discourse/discourse/pull/22571](https://github.com/discourse/discourse/pull/22571)

---

<div class="post-metadata">

**Author:** ![j.jaffeux](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/j.jaffeux/32/60297_2.png) [@j.jaffeux](https://meta.discourse.org/u/j.jaffeux)\
**Post date:** [July 15, 2023, 8:17am UTC](https://meta.discourse.org/t/user-can-restore-their-own-message-what-deleted-by-staff/268484/3 "2023-07-15T08:17:03Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
