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
87ff04d8
Commit
87ff04d8
authored
Apr 24, 2015
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Some small documentation fixes.
parent
3c710313
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
docs/source/development.rst
docs/source/development.rst
+6
-6
No files found.
docs/source/development.rst
View file @
87ff04d8
...
...
@@ -278,11 +278,11 @@ Add a contact.
Provide the JID of the contact you want to add::
converse.c
ha
ts.add('buddy@example.com')
converse.c
ontac
ts.add('buddy@example.com')
You may also provide the fullname. If not present, we use the jid as fullname
.
You may also provide the fullname. If not present, we use the jid as fullname
::
converse.c
ha
ts.add('buddy@example.com', 'Buddy')
converse.c
ontac
ts.add('buddy@example.com', 'Buddy')
"chats" grouping
----------------
...
...
@@ -371,11 +371,11 @@ To open a single multi user chat box, provide the JID of the room::
converse.rooms.open('group@muc.example.com')
To return an array of
chat boxes, provide an array of
JIDs::
To return an array of
rooms, provide an array of room
JIDs::
converse.
chat
s.open(['group1@muc.example.com', 'group2@muc.example.com'])
converse.
room
s.open(['group1@muc.example.com', 'group2@muc.example.com'])
To setup a custom nickname when joining the room, provide the option
n
al nick argument::
To setup a custom nickname when joining the room, provide the optional nick argument::
converse.rooms.open('group@muc.example.com', 'mycustomnick')
...
...
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