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
dffe3d1a
Commit
dffe3d1a
authored
Dec 03, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
smacks: Set `enable_smacks` to `true` as default
parent
c3447dd2
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
CHANGES.md
CHANGES.md
+2
-1
src/headless/converse-smacks.js
src/headless/converse-smacks.js
+1
-1
tests/mock.js
tests/mock.js
+2
-1
No files found.
CHANGES.md
View file @
dffe3d1a
...
...
@@ -2,9 +2,10 @@
## 6.0.0 (Unreleased)
-
[
enable_smacks
](
https://conversejs.org/docs/html/configuration.html#enable-smacks
)
is not set to
`true`
by default.
-
Refactor some presence and status handling code from
`converse-core`
into
`@converse/headless/converse-status`
.
-
Add support for
[
XEP-0424 Message Retraction
](
http://localhost:3080/extensions/xep-0424.html
)
-
Add support for
[
XEP-0425 Message Moderation
](
http://localhost:3080/extensions/xep-0425.html
)
-
Refactor some presence and status handling code from
`converse-core`
into
`@converse/headless/converse-status`
.
-
New API
[
\_converse.api.headlines
](
https://conversejs.org/docs/html/api/-_converse.api.headlines.html#.get
)
-
New config option
[
allow_message_retraction
](
https://conversejs.org/docs/html/configuration.html#allow-message-retraction
)
-
New config option
[
muc-show-logs-before-join
](
https://conversejs.org/docs/html/configuration.html#muc-show-logs-before-join
)
...
...
src/headless/converse-smacks.js
View file @
dffe3d1a
...
...
@@ -29,7 +29,7 @@ converse.plugins.add('converse-smacks', {
// Refer to docs/source/configuration.rst for explanations of these
// configuration settings.
_converse
.
api
.
settings
.
update
({
'
enable_smacks
'
:
fals
e
,
'
enable_smacks
'
:
tru
e
,
'
smacks_max_unacked_stanzas
'
:
5
,
});
...
...
tests/mock.js
View file @
dffe3d1a
...
...
@@ -228,8 +228,9 @@
'
animate
'
:
false
,
'
auto_subscribe
'
:
false
,
'
bosh_service_url
'
:
'
montague.lit/http-bind
'
,
'
loglevel
'
:
'
warn
'
,
'
enable_smacks
'
:
false
,
'
i18n
'
:
'
en
'
,
'
loglevel
'
:
'
warn
'
,
'
no_trimming
'
:
true
,
'
play_sounds
'
:
false
,
'
use_emojione
'
:
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