fix direct invite for membersonly room
This commit is contained in:
parent
a1795c29ba
commit
9eee13e192
@ -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)
|
||||
|
||||
|
2
dist/converse.js
vendored
2
dist/converse.js
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user