This commit is contained in:
ycc 2022-12-17 19:59:38 +01:00
parent 39dab226fb
commit 20c82d0766

View File

@ -79,7 +79,7 @@ func ProcessServerResponse(srv *InternalServer, msg []byte) (*meowlib.FromServer
return fsmsg, nil
}
func ProcessUserMessage(peer Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) {
func ProcessUserMessage(peer *Peer, message []byte, signature []byte) (*meowlib.UserMessage, error) {
dec, err := peer.AsymDecryptMessage(message, signature)
if err != nil {
return nil, err