Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
8f0ec8f5
Commit
8f0ec8f5
authored
6 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix-content-group-comparison' into 'master'
fix comparison See merge request
!97
parents
ba9b419c
f5393409
1 merge request
!97
fix comparison
Pipeline
#20405
passed with warnings with stages
in 1 minute and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/websocket/ArsnovaSocketioServerImpl.java
+2
-2
2 additions, 2 deletions
...a/de/thm/arsnova/websocket/ArsnovaSocketioServerImpl.java
with
2 additions
and
2 deletions
src/main/java/de/thm/arsnova/websocket/ArsnovaSocketioServerImpl.java
+
2
−
2
View file @
8f0ec8f5
...
...
@@ -533,9 +533,9 @@ public class ArsnovaSocketioServerImpl implements ArsnovaSocketioServer, Arsnova
// Update the unanswered count for the content variant that was answered.
final
de
.
thm
.
arsnova
.
model
.
Content
content
=
event
.
getContent
();
if
(
"lecture"
.
equals
(
content
.
getGroups
()))
{
if
(
content
.
getGroups
()
.
contains
(
"lecture"
))
{
sendToUser
(
event
.
getUser
(),
"unansweredLecturerQuestions"
,
contentService
.
getUnAnsweredLectureContentIds
(
roomId
,
event
.
getUser
()));
}
else
if
(
"preparation"
.
equals
(
content
.
getGroups
()
))
{
}
else
if
(
content
.
getGroups
().
contains
(
"preparation"
))
{
sendToUser
(
event
.
getUser
(),
"unansweredPreparationQuestions"
,
contentService
.
getUnAnsweredPreparationContentIds
(
roomId
,
event
.
getUser
()));
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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