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
e48015df
Commit
e48015df
authored
Jun 15, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #575
parent
d527f693
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
.eslintrc.json
.eslintrc.json
+1
-0
CHANGES.md
CHANGES.md
+2
-0
src/converse-controlbox.js
src/converse-controlbox.js
+5
-2
No files found.
.eslintrc.json
View file @
e48015df
...
...
@@ -23,6 +23,7 @@
"lodash/prefer-noop"
:
"off"
,
"lodash/prefer-lodash-typecheck"
:
"off"
,
"lodash/preferred-alias"
:
"off"
,
"lodash/prefer-get"
:
"off"
,
"accessor-pairs"
:
"error"
,
"array-bracket-spacing"
:
"off"
,
"array-callback-return"
:
"error"
,
...
...
CHANGES.md
View file @
e48015df
...
...
@@ -18,6 +18,8 @@
`chatbox`
attributes, instead of just the stanza. [jcbrand]
-
Render nickname form when entering a room via invitation. [jcbrand]
-
#567 Unreaded message count reset on page load [novokrest]
-
#575 Logging out from converse.js doesn't clear the connection status from the
sessionStorage [jcbrand]
-
#591 Unread message counter is reset when the chatbox is closed [novokrest]
-
#754 Show unread messages next to roster contacts. [jcbrand]
-
#864 Remove all inline CSS to comply with strict Content-Security-Policy headers [mathiasertl]
...
...
src/converse-controlbox.js
View file @
e48015df
...
...
@@ -92,8 +92,11 @@
clearSession
:
function
()
{
this
.
__super__
.
clearSession
.
apply
(
this
,
arguments
);
if
(
_
.
isUndefined
(
this
.
connection
)
&&
this
.
connection
.
connected
)
{
this
.
chatboxes
.
get
(
'
controlbox
'
).
save
({
'
connected
'
:
false
});
var
controlbox
=
this
.
chatboxes
.
get
(
'
controlbox
'
);
if
(
controlbox
&&
controlbox
.
collection
&&
controlbox
.
collection
.
browserStorage
)
{
controlbox
.
save
({
'
connected
'
:
false
});
}
},
...
...
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