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
ae90c742
Commit
ae90c742
authored
Sep 03, 2014
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docs and rename option to use underscore instead of dash.
parent
e64153b8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
12 deletions
+13
-12
converse.js
converse.js
+3
-3
docs/CHANGES.rst
docs/CHANGES.rst
+1
-0
docs/source/index.rst
docs/source/index.rst
+9
-9
No files found.
converse.js
View file @
ae90c742
...
...
@@ -219,7 +219,7 @@
'
emoticons
'
:
true
,
'
call
'
:
false
,
'
clear
'
:
true
,
'
toggle
-
participants
'
:
true
'
toggle
_
participants
'
:
true
};
this
.
xhr_custom_status
=
false
;
this
.
xhr_custom_status_url
=
''
;
...
...
@@ -269,7 +269,7 @@
_
.
extend
(
this
.
visible_toolbar_buttons
,
_
.
pick
(
settings
.
visible_toolbar_buttons
,
[
'
emoticons
'
,
'
call
'
,
'
clear
'
'
emoticons
'
,
'
call
'
,
'
clear
'
,
'
toggle_participants
'
]
));
}
...
...
@@ -1482,7 +1482,7 @@
show_call_button
:
converse
.
visible_toolbar_buttons
.
call
,
show_clear_button
:
converse
.
visible_toolbar_buttons
.
clear
,
show_emoticons
:
converse
.
visible_toolbar_buttons
.
emoticons
,
show_participants_toggle
:
this
.
is_chatroom
&&
converse
.
visible_toolbar_buttons
[
'
toggle-participants
'
]
show_participants_toggle
:
this
.
is_chatroom
&&
converse
.
visible_toolbar_buttons
.
toggle_participants
})
)
);
...
...
docs/CHANGES.rst
View file @
ae90c742
...
...
@@ -4,6 +4,7 @@ Changelog
0.8.1 (Unreleased)
------------------
* Add a chat room toolbar button for toggling the list of participants. [jcbrand]
* Converse.js now responds to XEP-0030: Service Discovery requests. [jcbrand]
* Bugfix. Roster groups all appear offline after page reload (with prebind).
See http://librelist.com/browser//conversejs/2014/8/26/problem-with-contact-list-everyone-is-offline/ [heban and jcbrand]
...
...
docs/source/index.rst
View file @
ae90c742
...
...
@@ -1086,20 +1086,17 @@ Default:
::
{
'emoticons': true,
'call': false,
'clear': true
call: false,
clear: true,
emoticons: true,
toggle_participants: true
}
Allows you to show or hide buttons on the chat boxes' toolbars.
* *emoticons*:
Enables rendering of emoticons and provides a toolbar button for choosing them.
* *call*:
Provides a button with a picture of a telephone on it.
When the call button is pressed, it will emit an event that can be used by a third-party library to initiate a call.
::
When the call button is pressed, it will emit an event that can be used by a third-party library to initiate a call.::
converse.on('callButtonClicked', function(event, data) {
console.log('Strophe connection is', data.connection);
...
...
@@ -1108,7 +1105,10 @@ Allows you to show or hide buttons on the chat boxes' toolbars.
});
* *clear*:
Provides a button for clearing messages from a chat box.
* *emoticons*:
Enables rendering of emoticons and provides a toolbar button for choosing them.
* toggle_participants:
Shows a button for toggling (i.e. showing/hiding) the list of participants in a chat room.
xhr_custom_status
-----------------
...
...
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