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
ad06c2b9
Commit
ad06c2b9
authored
Jun 14, 2017
by
Antonio Zoccoli
Committed by
JC Brand
Jun 14, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Converse ryzen 894 (#895)
* added change #894 * #894 - fix jid comparison in setAffiliationAndRole
parent
6c262f72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGES.md
CHANGES.md
+1
-0
src/converse-muc.js
src/converse-muc.js
+1
-1
No files found.
CHANGES.md
View file @
ad06c2b9
...
...
@@ -22,6 +22,7 @@
-
#754 Show unread messages next to roster contacts. [jcbrand]
-
#864 Remove all inline CSS to comply with strict Content-Security-Policy headers [mathiasertl]
-
#873 Inconsistent unread messages count updating [novokrest]
-
#894 Room affiliation lost when connection jid and room presence jid are of different case [Rayzen]
## 3.0.2 (2017-04-23)
...
...
src/converse-muc.js
View file @
ad06c2b9
...
...
@@ -1717,7 +1717,7 @@
var
item
=
sizzle
(
'
x[xmlns="
'
+
Strophe
.
NS
.
MUC_USER
+
'
"] item
'
,
pres
).
pop
();
if
(
_
.
isNil
(
item
))
{
return
;
}
var
jid
=
item
.
getAttribute
(
'
jid
'
);
if
(
Strophe
.
getBareJidFromJid
(
jid
)
===
_converse
.
bare_jid
)
{
if
(
Strophe
.
getBareJidFromJid
(
jid
)
.
toLowerCase
()
===
_converse
.
bare_jid
.
toLowerCase
()
)
{
var
affiliation
=
item
.
getAttribute
(
'
affiliation
'
);
var
role
=
item
.
getAttribute
(
'
role
'
);
if
(
affiliation
)
{
...
...
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