new version of from to trick protobuf ?
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-02-13 22:15:25 +01:00
parent 9561531c7c
commit 2969227656
3 changed files with 92 additions and 79 deletions

View File

@ -205,7 +205,7 @@ func (p *Peer) AsymDecryptMessage(Message []byte, Signature []byte) (DecryptedMe
// PackUserMessage will package the previously encrypted message
func (p *Peer) PackUserMessage(message []byte, signature []byte) *meowlib.PackedUserMessage {
var msg meowlib.PackedUserMessage
// msg.From = p.MyIdentity.Public
msg.SignaturePublicKey = p.MyIdentity.Public
msg.Destination = p.ContactLookupKey
msg.Payload = message
msg.Signature = signature