messages structure simplfy + routing
This commit is contained in:
@ -94,7 +94,6 @@ func (p *Peer) AsymDecryptMessage(Message []byte, Signature []byte) (DecryptedMe
|
||||
func (p *Peer) PackUserMessage(message []byte, signature []byte) meowlib.PackedUserMessage {
|
||||
var msg meowlib.PackedUserMessage
|
||||
msg.Destination = p.Contact.LookupPublicKey
|
||||
msg.From = p.Me.Public
|
||||
msg.Payload = message
|
||||
msg.Signature = signature
|
||||
return msg
|
||||
|
Reference in New Issue
Block a user