# Admins can't remove themselves from PMs

**URL:** https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794
**Category:** Bug
**Created:** [September 28, 2016, 1:53pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794 "2016-09-28T13:53:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [September 28, 2016, 1:53pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794/1 "2016-09-28T13:53:49Z")

</div>

**Reproduction Steps:**

1. testuser2 (not staff), messages testuser5 (also not staff)
2. testuser2 invites admin (an admin) to PM
3. admin replies he has nothing he can contribute and then clicks the next to admin to remove himself
4. Message denoting admin removed admin is shown in PM thread (recipient list removes admin too)  
 ![](https://global.discourse-cdn.com/meta/original/3X/1/7/1753a04485ed09f0d6b925c470d5337cadd4ed5c.png)
5. Refresh the page, admin is still listed as a recipient,  
 ![](https://global.discourse-cdn.com/meta/original/3X/e/9/e9aeccf86260e0aa42849f8986af06b64a21417f.png)

**Expected:**  
Admins should be able to remove themselves from a topic to avoid notifications and make it clear to the users they are not on it.

It is understood the admin can review that PM regardless, but to end users, it makes it clear that the admin is not apart of the active discussion anymore.

**Side Note:**  
If any of the recipients is a moderator. They can successfully remove the admin from the PM.  
Other admins can remove other admins too. _It is just an admin can’t remove themselves from a PM._

Tested on Latest, ping @ralphm

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [September 28, 2016, 2:43pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794/2 "2016-09-28T14:43:58Z")

</div>

Maybe @sam should have a look at this?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [September 28, 2016, 2:45pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794/3 "2016-09-28T14:45:45Z")

</div>

Confirmed, this is a bug.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 16, 2017, 8:06pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794/4 "2017-05-16T20:06:51Z")

</div>

Fixed per:

[https://github.com/discourse/discourse/commit/4b449914b822bb35bce6f1c41625a6320c0d326a](https://github.com/discourse/discourse/commit/4b449914b822bb35bce6f1c41625a6320c0d326a)

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [May 16, 2017, 8:06pm UTC](https://meta.discourse.org/t/admins-cant-remove-themselves-from-pms/50794/5 "2017-05-16T20:06:54Z")

</div>


