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
1759cc16
Commit
1759cc16
authored
Feb 07, 2018
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Advertise support for spoilers
parent
d4ceb6d3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
src/converse-chatview.js
src/converse-chatview.js
+7
-1
No files found.
src/converse-chatview.js
View file @
1759cc16
...
...
@@ -62,7 +62,7 @@
*
* NB: These plugins need to have already been loaded via require.js.
*/
dependencies
:
[
"
converse-chatboxes
"
],
dependencies
:
[
"
converse-chatboxes
"
,
"
converse-disco
"
],
overrides
:
{
// Overrides mentioned here will be picked up by converse.js's
...
...
@@ -1203,6 +1203,12 @@
}
}
});
_converse
.
on
(
'
connected
'
,
()
=>
{
// Advertise that we support XEP-0382 Message Spoilers
_converse
.
connection
.
disco
.
addFeature
(
Strophe
.
NS
.
SPOILER
);
});
}
});
...
...
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