Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
21e1b269
Commit
21e1b269
authored
Mar 07, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix from master.
parent
2db4550b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
src/converse-muc-views.js
src/converse-muc-views.js
+4
-2
No files found.
src/converse-muc-views.js
View file @
21e1b269
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
)
{
)
{
"
use strict
"
;
"
use strict
"
;
const
{
Backbone
,
Promise
,
Strophe
,
b64_sha1
,
moment
,
sizzle
,
_
,
$build
,
$iq
,
$msg
,
$pres
}
=
converse
.
env
;
const
{
Backbone
,
Promise
,
Strophe
,
b64_sha1
,
moment
,
f
,
sizzle
,
_
,
$build
,
$iq
,
$msg
,
$pres
}
=
converse
.
env
;
const
u
=
converse
.
env
.
utils
;
const
u
=
converse
.
env
.
utils
;
const
ROOM_FEATURES_MAP
=
{
const
ROOM_FEATURES_MAP
=
{
...
@@ -2550,7 +2550,9 @@
...
@@ -2550,7 +2550,9 @@
* set the MUC domain for the "Rooms" panel of the controlbox.
* set the MUC domain for the "Rooms" panel of the controlbox.
*/
*/
function
featureAdded
(
feature
)
{
function
featureAdded
(
feature
)
{
if
((
feature
.
get
(
'
var
'
)
===
Strophe
.
NS
.
MUC
))
{
if
(
feature
.
get
(
'
var
'
)
===
Strophe
.
NS
.
MUC
&&
f
.
includes
(
'
conference
'
,
feature
.
entity
.
identities
.
pluck
(
'
category
'
)))
{
setMUCDomain
(
feature
.
get
(
'
from
'
),
controlboxview
);
setMUCDomain
(
feature
.
get
(
'
from
'
),
controlboxview
);
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment