Skip to content
Snippets Groups Projects
Commit 9cf9bf61 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add recipient to cmix message outgoing from sendE2E

parent f9e20595
Branches
Tags
No related merge requests found
...@@ -47,6 +47,7 @@ func (m *Manager) SendE2E(msg message.Send, param params.E2E) ([]id.Round, e2e.M ...@@ -47,6 +47,7 @@ func (m *Manager) SendE2E(msg message.Send, param params.E2E) ([]id.Round, e2e.M
//create the cmix message //create the cmix message
msgCmix := format.NewMessage(m.Session.Cmix().GetGroup().GetP().ByteLen()) msgCmix := format.NewMessage(m.Session.Cmix().GetGroup().GetP().ByteLen())
msgCmix.SetContents(p) msgCmix.SetContents(p)
msgCmix.SetRecipientID(msg.Recipient)
//get a key to end to end encrypt //get a key to end to end encrypt
key, err := partner.GetKeyForSending(param.Type) key, err := partner.GetKeyForSending(param.Type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment