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
9510bdc1
Commit
9510bdc1
authored
Jan 31, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove minimized chats when logging out.
parent
d96bc6eb
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
docs/CHANGES.md
docs/CHANGES.md
+2
-1
src/converse-minimize.js
src/converse-minimize.js
+5
-1
No files found.
docs/CHANGES.md
View file @
9510bdc1
...
...
@@ -8,7 +8,8 @@
-
Bugfix. Cancel button shown while registration form is being fetched wasn't working
properly. [jcbrand]
-
Bugfix. Login form wasn't rendered after logging out (when
`auto_reconnect`
is
`true`
). [jcbrand]
-
Properly disconnect upon "host-unknown" error. [jcbrand]
-
Bugfix. Properly disconnect upon "host-unknown" error. [jcbrand]
-
Bugfix. Minimized chats weren't removed when logging out. [jcbrand]
## 2.0.4 (2016-12-13)
-
#737: Bugfix. Translations weren't being applied. [jcbrand]
...
...
src/converse-minimize.js
View file @
9510bdc1
...
...
@@ -373,7 +373,6 @@
},
200
,
true
)
});
converse
.
MinimizedChats
=
Backbone
.
Overview
.
extend
({
tagName
:
'
div
'
,
id
:
"
minimized-chats
"
,
...
...
@@ -526,6 +525,11 @@
converse
.
chatboxviews
.
trimChats
(
chatbox
);
}
});
var
logOut
=
function
()
{
converse
.
minimized_chats
.
remove
();
};
converse
.
on
(
'
logout
'
,
logOut
);
}
});
}));
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