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
7d74319e
Commit
7d74319e
authored
Jan 03, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #1356
parent
aa3cbaa3
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
6 deletions
+8
-6
CHANGES.md
CHANGES.md
+2
-0
dist/converse.js
dist/converse.js
+3
-3
src/converse-bookmarks.js
src/converse-bookmarks.js
+1
-1
src/converse-roomslist.js
src/converse-roomslist.js
+1
-1
src/converse-rosterview.js
src/converse-rosterview.js
+1
-1
No files found.
CHANGES.md
View file @
7d74319e
...
@@ -8,12 +8,14 @@
...
@@ -8,12 +8,14 @@
-
Add a new
`converse-pubsub`
plugin, for generic PubSub operations
-
Add a new
`converse-pubsub`
plugin, for generic PubSub operations
-
#1180 It's now possible to use OMEMO in a MUC (if it's members-only and non-anonymous)
-
#1180 It's now possible to use OMEMO in a MUC (if it's members-only and non-anonymous)
-
#1353 Message Delivery Receipts not working because of the message "type" attribute
-
#1353 Message Delivery Receipts not working because of the message "type" attribute
-
#1356 Make triangle icon usable
-
#1374 Can't load embedded chat when changing
`view_mode`
between page reloads
-
#1374 Can't load embedded chat when changing
`view_mode`
between page reloads
-
#1376 Fixed some alignment issues in the sidebar
-
#1376 Fixed some alignment issues in the sidebar
-
#1378 Message Delivery Receipts were being sent for carbons and own messages
-
#1378 Message Delivery Receipts were being sent for carbons and own messages
-
#1379 MUC unread messages indicator is failing
-
#1379 MUC unread messages indicator is failing
-
#1382 Message Delivery Receipts: Set store hint and type='chat'
-
#1382 Message Delivery Receipts: Set store hint and type='chat'
## 4.0.6 (2018-12-07)
## 4.0.6 (2018-12-07)
-
Updated translations: ar, cs, de, es, eu, fr, gl, hu, id, it, ja, nb, pt_BR
-
Updated translations: ar, cs, de, es, eu, fr, gl, hu, id, it, ja, nb, pt_BR
...
...
dist/converse.js
View file @
7d74319e
...
@@ -48985,7 +48985,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
...
@@ -48985,7 +48985,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
ev.preventDefault();
ev.preventDefault();
}
}
const icon_el = ev.target.querySelector('.fa');
const icon_el = ev.target.
matches('.fa') ? ev.target : ev.target.
querySelector('.fa');
if (u.hasClass('fa-caret-down', icon_el)) {
if (u.hasClass('fa-caret-down', icon_el)) {
u.slideIn(this.el.querySelector('.bookmarks'));
u.slideIn(this.el.querySelector('.bookmarks'));
...
@@ -58913,7 +58913,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
...
@@ -58913,7 +58913,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_0__["default"].plugins
ev.preventDefault();
ev.preventDefault();
}
}
const icon_el = ev.target.querySelector('.fa');
const icon_el = ev.target.
matches('.fa') ? ev.target : ev.target.
querySelector('.fa');
if (icon_el.classList.contains("fa-caret-down")) {
if (icon_el.classList.contains("fa-caret-down")) {
u.slideIn(this.el.querySelector('.open-rooms-list')).then(() => {
u.slideIn(this.el.querySelector('.open-rooms-list')).then(() => {
...
@@ -59748,7 +59748,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
...
@@ -59748,7 +59748,7 @@ _converse_headless_converse_core__WEBPACK_IMPORTED_MODULE_5__["default"].plugins
ev.preventDefault();
ev.preventDefault();
}
}
const icon_el = ev.target.querySelector('.fa');
const icon_el = ev.target.
matches('.fa') ? ev.target : ev.target.
querySelector('.fa');
if (_.includes(icon_el.classList, "fa-caret-down")) {
if (_.includes(icon_el.classList, "fa-caret-down")) {
this.model.save({
this.model.save({
src/converse-bookmarks.js
View file @
7d74319e
...
@@ -507,7 +507,7 @@ converse.plugins.add('converse-bookmarks', {
...
@@ -507,7 +507,7 @@ converse.plugins.add('converse-bookmarks', {
toggleBookmarksList
(
ev
)
{
toggleBookmarksList
(
ev
)
{
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
const
icon_el
=
ev
.
target
.
querySelector
(
'
.fa
'
);
const
icon_el
=
ev
.
target
.
matches
(
'
.fa
'
)
?
ev
.
target
:
ev
.
target
.
querySelector
(
'
.fa
'
);
if
(
u
.
hasClass
(
'
fa-caret-down
'
,
icon_el
))
{
if
(
u
.
hasClass
(
'
fa-caret-down
'
,
icon_el
))
{
u
.
slideIn
(
this
.
el
.
querySelector
(
'
.bookmarks
'
));
u
.
slideIn
(
this
.
el
.
querySelector
(
'
.bookmarks
'
));
this
.
list_model
.
save
({
'
toggle-state
'
:
_converse
.
CLOSED
});
this
.
list_model
.
save
({
'
toggle-state
'
:
_converse
.
CLOSED
});
...
...
src/converse-roomslist.js
View file @
7d74319e
...
@@ -245,7 +245,7 @@ converse.plugins.add('converse-roomslist', {
...
@@ -245,7 +245,7 @@ converse.plugins.add('converse-roomslist', {
toggleRoomsList
(
ev
)
{
toggleRoomsList
(
ev
)
{
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
const
icon_el
=
ev
.
target
.
querySelector
(
'
.fa
'
);
const
icon_el
=
ev
.
target
.
matches
(
'
.fa
'
)
?
ev
.
target
:
ev
.
target
.
querySelector
(
'
.fa
'
);
if
(
icon_el
.
classList
.
contains
(
"
fa-caret-down
"
))
{
if
(
icon_el
.
classList
.
contains
(
"
fa-caret-down
"
))
{
u
.
slideIn
(
this
.
el
.
querySelector
(
'
.open-rooms-list
'
)).
then
(()
=>
{
u
.
slideIn
(
this
.
el
.
querySelector
(
'
.open-rooms-list
'
)).
then
(()
=>
{
this
.
list_model
.
save
({
'
toggle-state
'
:
_converse
.
CLOSED
});
this
.
list_model
.
save
({
'
toggle-state
'
:
_converse
.
CLOSED
});
...
...
src/converse-rosterview.js
View file @
7d74319e
...
@@ -688,7 +688,7 @@ converse.plugins.add('converse-rosterview', {
...
@@ -688,7 +688,7 @@ converse.plugins.add('converse-rosterview', {
async
toggle
(
ev
)
{
async
toggle
(
ev
)
{
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
if
(
ev
&&
ev
.
preventDefault
)
{
ev
.
preventDefault
();
}
const
icon_el
=
ev
.
target
.
querySelector
(
'
.fa
'
);
const
icon_el
=
ev
.
target
.
matches
(
'
.fa
'
)
?
ev
.
target
:
ev
.
target
.
querySelector
(
'
.fa
'
);
if
(
_
.
includes
(
icon_el
.
classList
,
"
fa-caret-down
"
))
{
if
(
_
.
includes
(
icon_el
.
classList
,
"
fa-caret-down
"
))
{
this
.
model
.
save
({
state
:
_converse
.
CLOSED
});
this
.
model
.
save
({
state
:
_converse
.
CLOSED
});
await
this
.
collapse
();
await
this
.
collapse
();
...
...
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