diff --git a/app/assets/javascripts/discourse/widgets/private-message-map.js.es6 b/app/assets/javascripts/discourse/widgets/private-message-map.js.es6 index 1ce3119a75f..64274c49294 100644 --- a/app/assets/javascripts/discourse/widgets/private-message-map.js.es6 +++ b/app/assets/javascripts/discourse/widgets/private-message-map.js.es6 @@ -154,7 +154,11 @@ export default createWidget("private-message-map", { const result = [h(`div.participants${hideNamesClass}`, participants)]; const controls = []; - if (attrs.canRemoveAllowedUsers || attrs.canRemoveSelfId) { + if ( + attrs.canInvite || + attrs.canRemoveAllowedUsers || + attrs.canRemoveSelfId + ) { controls.push( this.attach("button", { action: "toggleEditing",