Commit 9eee13e1 authored by Christoph Scholz's avatar Christoph Scholz Committed by JC Brand

fix direct invite for membersonly room

parent a1795c29
......@@ -3,6 +3,7 @@
## 4.1.1 (unreleased)
- #1408 new config option `roomconfig_whitelist`
- #1421 fix direct invite for membersonly room
## 4.1.0 (2019-01-11)
......
......@@ -66542,7 +66542,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
* (String) recipient - JID of the person being invited
* (String) reason - Optional reason for the invitation
*/
if (this.get('membersonly')) {
if (this.features.get('membersonly')) {
// When inviting to a members-only groupchat, we first add
// the person to the member list by giving them an
// affiliation of 'member' (if they're not affiliated
......@@ -464,7 +464,7 @@ converse.plugins.add('converse-muc', {
* (String) recipient - JID of the person being invited
* (String) reason - Optional reason for the invitation
*/
if (this.get('membersonly')) {
if (this.features.get('membersonly')) {
// When inviting to a members-only groupchat, we first add
// the person to the member list by giving them an
// affiliation of 'member' (if they're not affiliated
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment