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
07f82d6a
Commit
07f82d6a
authored
Jul 22, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow passing of more options to `auto_join_rooms`
parent
3817f471
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docs/source/configuration.rst
docs/source/configuration.rst
+2
-2
src/headless/converse-muc.js
src/headless/converse-muc.js
+1
-1
No files found.
docs/source/configuration.rst
View file @
07f82d6a
...
...
@@ -384,11 +384,11 @@ automatically joined once the user has logged in.
You can either specify a simple list of room JIDs, in which case your nickname
will be taken from your JID, or you can specify a list of maps, where each map
specifies the room's JID and
the nickname that should be used
.
specifies the room's JID and
other options
.
For example::
`[{'jid': 'room@example.org', 'nick': 'WizardKing69' }]`
`[{'jid': 'room@example.org', 'nick': 'WizardKing69'
, 'minimized': true
}]`
blacklisted_plugins
...
...
src/headless/converse-muc.js
View file @
07f82d6a
...
...
@@ -2052,7 +2052,7 @@ converse.plugins.add('converse-muc', {
if
(
_
.
isString
(
groupchat
))
{
_converse
.
api
.
rooms
.
open
(
groupchat
);
}
else
if
(
_
.
isObject
(
groupchat
))
{
_converse
.
api
.
rooms
.
open
(
groupchat
.
jid
,
groupchat
.
nick
);
_converse
.
api
.
rooms
.
open
(
groupchat
.
jid
,
groupchat
);
}
else
{
_converse
.
log
(
'
Invalid groupchat criteria specified for "auto_join_rooms"
'
,
...
...
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