Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
katzenpost DEPRECATED
client
Commits
4646e071
Commit
4646e071
authored
Sep 26, 2019
by
David Stainton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix sentWaitChan usage
parent
51eda881
Pipeline
#961
failed with stage
in 10 minutes and 55 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
session/send.go
session/send.go
+1
-2
No files found.
session/send.go
View file @
4646e071
...
...
@@ -201,8 +201,7 @@ func (s *Session) BlockingSendUnreliableMessage(recipient, provider string, mess
return
nil
,
err
}
// wait until sent so that we know the ReplyETA for the waiting below
sentMessageRaw
:=
<-
sentWaitChan
sentMessage
:=
sentMessageRaw
.
(
*
Message
)
sentMessage
:=
<-
sentWaitChan
s
.
sentWaitChanMap
.
Delete
(
*
msg
.
ID
)
// wait for reply or round trip timeout
select
{
...
...
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