get file size

This commit is contained in:
Zack Scholl 2019-11-13 09:14:46 -08:00
parent 41a245d609
commit e2dde7d46f
1 changed files with 2 additions and 0 deletions

View File

@ -488,7 +488,9 @@ func (c *Client) CreateOfferer(finished chan<- error) (pc *webrtc.PeerConnection
fileSize = 0
} else {
log.Debugf("receiving file sized %d", fileSize)
return
}
}
err = box.Unbundle(string(dcMsg.Data), c.Key, &fd)
if err == nil {