Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-jams
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-jams
Commits
3066cccb
Commit
3066cccb
authored
4 years ago
by
William Enright
Browse files
Options
Downloads
Patches
Plain Diff
Extra check for device registration with no groups
Change-Id: I4765ddc539753eb3e5cbc1fa058e174cd57f02d4
parent
6a997a2c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
jams-server/src/main/java/net/jami/jams/server/core/workflows/RegisterDeviceFlow.java
+1
-1
1 addition, 1 deletion
...t/jami/jams/server/core/workflows/RegisterDeviceFlow.java
with
1 addition
and
1 deletion
jams-server/src/main/java/net/jami/jams/server/core/workflows/RegisterDeviceFlow.java
+
1
−
1
View file @
3066cccb
...
...
@@ -72,7 +72,7 @@ public class RegisterDeviceFlow {
statementList
=
new
StatementList
();
statementList
.
addStatement
(
new
StatementElement
(
"username"
,
"="
,
username
,
""
));
if
(
dataStore
.
getUserGroupMappingsDao
().
getObjects
(
statementList
)
!=
null
)
{
if
(
dataStore
.
getUserGroupMappingsDao
().
getObjects
(
statementList
)
!=
null
&&
!
dataStore
.
getUserGroupMappingsDao
().
getObjects
(
statementList
).
isEmpty
()
)
{
UserGroupMapping
mapping
=
dataStore
.
getUserGroupMappingsDao
().
getObjects
(
statementList
).
get
(
0
);
List
<
String
>
list
=
new
ArrayList
<>();
if
(
mapping
.
getUsername
().
equals
(
userProfile
.
getUsername
()))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment