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
ed287df4
Commit
ed287df4
authored
Jan 30, 2020
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No need to set id manually
parent
29aed314
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
src/converse-rosterview.js
src/converse-rosterview.js
+1
-2
No files found.
src/converse-rosterview.js
View file @
ed287df4
...
...
@@ -11,7 +11,6 @@ import { compact, debounce, has, isString, uniq, without } from "lodash";
import
{
View
}
from
'
skeletor.js/src/view.js
'
;
import
{
Model
}
from
'
skeletor.js/src/model.js
'
;
import
{
OrderedListView
}
from
"
skeletor.js/src/overview
"
;
import
SHA1
from
'
strophe.js/src/sha1
'
;
import
converse
from
"
@converse/headless/converse-core
"
;
import
log
from
"
@converse/headless/log
"
;
import
tpl_add_contact_modal
from
"
templates/add_contact_modal.js
"
;
...
...
@@ -884,7 +883,7 @@ converse.plugins.add('converse-rosterview', {
if
(
view
)
{
return
view
.
model
;
}
return
this
.
model
.
create
({
name
,
'
id
'
:
SHA1
.
b64_sha1
(
name
)
});
return
this
.
model
.
create
({
name
});
},
addContactToGroup
(
contact
,
name
,
options
)
{
...
...
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