Browse Source

Merge branch 'bugfix' of cwtch.im/cwtch into master

pull/96/head
Dan Ballard Gogs 1 year ago
parent
commit
cded8755ca
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      peer/send/peer_send_channel.go

+ 1
- 2
peer/send/peer_send_channel.go View File

@@ -64,10 +64,9 @@ func (cpsc *CwtchPeerSendChannel) OpenOutbound(channel *channels.Channel) ([]byt
func (cpsc *CwtchPeerSendChannel) OpenOutboundResult(err error, crm *Protocol_Data_Control.ChannelResult) {
if err == nil {
if crm.GetOpened() {
cpsc.channel.Pending = false
ce, _ := proto.GetExtension(crm, protocol.E_ServerNonce)
cpsc.challenge = ce.([]byte)[:]
cpsc.channel.Pending = false
}
}
}


Loading…
Cancel
Save