FIX: handles different cases of canInvite/canRemove states in PM (PR #10607)

can add and remove: Screenshot 2020-09-05 at 21 13 02 Screenshot 2020-09-05 at 21 13 06

can add and not remove: Screenshot 2020-09-05 at 21 13 19 Screenshot 2020-09-05 at 21 13 22

cannot add can remove: Screenshot 2020-09-05 at 21 13 38 Screenshot 2020-09-05 at 21 13 42

GitHub

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/unable-to-add-user-to-pm-topic/162945/11

I wonder, would “Edit…” be better than “Add or Remove…”? It’s shorter, but I’m not sure it’s clearer :thinking:

I wonder, would “Edit…” be better than “Add or Remove…”? It’s shorter, but I’m not sure it’s clearer :thinking:

Yep hesitated too, but people are used to this, so not sure it’s worth changing habits here…

I like this. The other day I was tripped up by this.