Skip to content
Snippets Groups Projects
Commit 410a14d0 authored by Jake Taylor's avatar Jake Taylor
Browse files

remove round events from single use messages

parent 2fef4163
No related branches found
No related tags found
2 merge requests!170Release,!142remove round events from single use messages
...@@ -122,7 +122,7 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte, ...@@ -122,7 +122,7 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte,
if err != nil { if err != nil {
errorString := fmt.Sprintf("failed to send single-use transmission "+ errorString := fmt.Sprintf("failed to send single-use transmission "+
"CMIX message: %+v", err) "CMIX message: %+v", err)
jww.ERROR.Print(errorString) jww.ERROR.Printf(errorString)
// Exit the state timeout handler, delete the state from map, and // Exit the state timeout handler, delete the state from map, and
// return an error on the callback // return an error on the callback
...@@ -139,14 +139,9 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte, ...@@ -139,14 +139,9 @@ func (m *Manager) transmitSingleUse(partner contact2.Contact, payload []byte,
"message because the timeout handler quit.") "message because the timeout handler quit.")
return return
} }
jww.DEBUG.Printf("Sent single-use transmission CMIX "+
im := fmt.Sprintf("Sent single-use transmission CMIX "+
"message to %s and ephemeral ID %d on round %d.", "message to %s and ephemeral ID %d on round %d.",
partner.ID, ephID.Int64(), round) partner.ID, ephID.Int64(), round)
jww.DEBUG.Print(im)
if m.client != nil {
m.client.ReportEvent(1, "SingleUse", "MessageSend", im)
}
}() }()
return nil return nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment