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
e8a70abc
Commit
e8a70abc
authored
Sep 05, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix. Chat room status messages weren't being shown in certain cases.
parent
a3e540fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
12 deletions
+8
-12
converse.js
converse.js
+8
-12
No files found.
converse.js
View file @
e8a70abc
...
...
@@ -2363,18 +2363,14 @@
msgs
,
i
;
for
(
i
=
0
;
i
<
$stats
.
length
;
i
++
)
{
var
stat
=
$stats
[
i
].
getAttribute
(
'
code
'
);
if
(
is_self
)
{
if
(
_
.
contains
(
_
.
keys
(
this
.
disconnectMessages
),
stat
))
{
disconnect_msgs
.
push
(
this
.
disconnectMessages
[
stat
]);
}
}
else
{
if
(
_
.
contains
(
_
.
keys
(
this
.
infoMessages
),
stat
))
{
info_msgs
.
push
(
this
.
infoMessages
[
stat
]);
}
else
if
(
_
.
contains
(
_
.
keys
(
this
.
actionInfoMessages
),
stat
))
{
action_msgs
.
push
(
__
(
this
.
actionInfoMessages
[
stat
],
Strophe
.
unescapeNode
(
Strophe
.
getResourceFromJid
(
$el
.
attr
(
'
from
'
))))
);
}
if
(
is_self
&&
_
.
contains
(
_
.
keys
(
this
.
disconnectMessages
),
stat
))
{
disconnect_msgs
.
push
(
this
.
disconnectMessages
[
stat
]);
}
else
if
(
!
is_self
&&
_
.
contains
(
_
.
keys
(
this
.
actionInfoMessages
),
stat
))
{
action_msgs
.
push
(
__
(
this
.
actionInfoMessages
[
stat
],
Strophe
.
unescapeNode
(
Strophe
.
getResourceFromJid
(
$el
.
attr
(
'
from
'
))))
);
}
else
if
(
_
.
contains
(
_
.
keys
(
this
.
infoMessages
),
stat
))
{
info_msgs
.
push
(
this
.
infoMessages
[
stat
]);
}
}
if
(
disconnect_msgs
.
length
>
0
)
{
...
...
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