File Sharing MVP #384

Merged
sarah merged 52 commits from filesharing into master 2021-09-30 00:57:14 +00:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 76175b48a3 - Show all commits

View File

@ -8,6 +8,7 @@ import (
model3 "cwtch.im/cwtch/protocol/model"
"encoding/base64"
"encoding/json"
"fmt"
"git.openprivacy.ca/cwtch.im/tapir"
"git.openprivacy.ca/cwtch.im/tapir/applications"
"git.openprivacy.ca/cwtch.im/tapir/networks/tor"
@ -593,6 +594,7 @@ func (e *engine) sendPeerMessage(handle string, message model3.PeerMessage) erro
if ok {
return peerApp.SendMessage(message)
}
return fmt.Errorf("could not find peer app to send message to: %v", handle)
}
log.Errorf("could not send peer message: %v", err)
return err