Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Game Server Go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Akamu
Game Server Go
Commits
b2442d5f
Commit
b2442d5f
authored
Oct 15, 2020
by
Julien Schröter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set receiver for notification when it's the next player's action
parent
84df1f3a
Pipeline
#2042
passed with stages
in 21 minutes and 29 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
endpoint/duel/endpoint.go
endpoint/duel/endpoint.go
+1
-0
No files found.
endpoint/duel/endpoint.go
View file @
b2442d5f
...
...
@@ -365,6 +365,7 @@ func postAnswer(repository DuelQuery, titleRepository title.TitleQuery, sessionR
data
[
"duel"
]
=
strconv
.
FormatUint
(
uint64
(
status
.
ID
),
10
)
if
!
status
.
Finished
{
receiver
=
status
.
NextPlayer
notificationType
=
notifications
.
DuelResponseNotificationType
notification
=
&
messaging
.
Notification
{
Title
:
fmt
.
Sprintf
(
"%v hat gespielt."
,
username
),
...
...
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