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
590d8769
Commit
590d8769
authored
Feb 06, 2019
by
laszlovl
Committed by
JC Brand
Feb 08, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent duplicate messages on MUC join
Fixes #1414
parent
c403708f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGES.md
CHANGES.md
+1
-0
dist/converse.js
dist/converse.js
+1
-1
src/headless/converse-muc.js
src/headless/converse-muc.js
+1
-1
No files found.
CHANGES.md
View file @
590d8769
...
@@ -12,6 +12,7 @@
...
@@ -12,6 +12,7 @@
-
#1422 Resurrect the
`muc_show_join_leave`
option
-
#1422 Resurrect the
`muc_show_join_leave`
option
-
#1412 muc moderator commands can be disabled selectively by config
-
#1412 muc moderator commands can be disabled selectively by config
-
#1413 fix moderator commands that change affiliation
-
#1413 fix moderator commands that change affiliation
-
#1414 Prevent duplicate messages on MUC join
## 4.1.0 (2019-01-11)
## 4.1.0 (2019-01-11)
...
...
dist/converse.js
View file @
590d8769
...
@@ -66163,7 +66163,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
...
@@ -66163,7 +66163,7 @@ _converse_core__WEBPACK_IMPORTED_MODULE_6__["default"].plugins.add('converse-muc
}).c("x", {
}).c("x", {
'xmlns': Strophe.NS.MUC
'xmlns': Strophe.NS.MUC
}).c("history", {
}).c("history", {
'maxstanzas': this.get('mam_enabled') ? 0 : _converse.muc_history_max_stanzas
'maxstanzas': this.
features.
get('mam_enabled') ? 0 : _converse.muc_history_max_stanzas
}).up();
}).up();
if (password) {
if (password) {
src/headless/converse-muc.js
View file @
590d8769
...
@@ -293,7 +293,7 @@ converse.plugins.add('converse-muc', {
...
@@ -293,7 +293,7 @@ converse.plugins.add('converse-muc', {
'
from
'
:
_converse
.
connection
.
jid
,
'
from
'
:
_converse
.
connection
.
jid
,
'
to
'
:
this
.
getRoomJIDAndNick
(
nick
)
'
to
'
:
this
.
getRoomJIDAndNick
(
nick
)
}).
c
(
"
x
"
,
{
'
xmlns
'
:
Strophe
.
NS
.
MUC
})
}).
c
(
"
x
"
,
{
'
xmlns
'
:
Strophe
.
NS
.
MUC
})
.
c
(
"
history
"
,
{
'
maxstanzas
'
:
this
.
get
(
'
mam_enabled
'
)
?
0
:
_converse
.
muc_history_max_stanzas
}).
up
();
.
c
(
"
history
"
,
{
'
maxstanzas
'
:
this
.
features
.
get
(
'
mam_enabled
'
)
?
0
:
_converse
.
muc_history_max_stanzas
}).
up
();
if
(
password
)
{
if
(
password
)
{
stanza
.
cnode
(
Strophe
.
xmlElement
(
"
password
"
,
[],
password
));
stanza
.
cnode
(
Strophe
.
xmlElement
(
"
password
"
,
[],
password
));
}
}
...
...
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