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
6c3990ac
Commit
6c3990ac
authored
Dec 17, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Trying to fix `trimChats is not a function` on Travis
parent
49efe390
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
dist/converse.js
dist/converse.js
+2
-2
src/converse-minimize.js
src/converse-minimize.js
+2
-2
No files found.
dist/converse.js
View file @
6c3990ac
...
...
@@ -52638,7 +52638,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_1__["default"].plugins
dependencies: ["converse-chatview", "converse-controlbox", "converse-muc", "converse-muc-views", "converse-headline"],
enabled(_converse) {
return _converse.view_mode == 'overlayed';
return _converse.view_mode ==
=
'overlayed';
},
overrides: {
...
...
@@ -53177,7 +53177,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_1__["default"].plugins
}).catch(_.partial(_converse.log, _, Strophe.LogLevel.FATAL));
const debouncedTrim = _.debounce(ev => {
if (_converse.view_mode !== 'overlayed') {
if (_converse.view_mode !== 'overlayed'
|| !_converse.chatboxviews.trimChats
) {
return;
}
src/converse-minimize.js
View file @
6c3990ac
...
...
@@ -31,7 +31,7 @@ converse.plugins.add('converse-minimize', {
dependencies
:
[
"
converse-chatview
"
,
"
converse-controlbox
"
,
"
converse-muc
"
,
"
converse-muc-views
"
,
"
converse-headline
"
],
enabled
(
_converse
)
{
return
_converse
.
view_mode
==
'
overlayed
'
;
return
_converse
.
view_mode
==
=
'
overlayed
'
;
},
overrides
:
{
...
...
@@ -518,7 +518,7 @@ converse.plugins.add('converse-minimize', {
const
debouncedTrim
=
_
.
debounce
(
ev
=>
{
if
(
_converse
.
view_mode
!==
'
overlayed
'
)
{
if
(
_converse
.
view_mode
!==
'
overlayed
'
||
!
_converse
.
chatboxviews
.
trimChats
)
{
return
;
}
if
(
_converse
.
connection
.
connected
)
{
...
...
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