Skip to content
Snippets Groups Projects
Commit d0ec45a6 authored by Bernardo Cardoso's avatar Bernardo Cardoso
Browse files

Fix merge on cmd/root

parent 2dafd9f9
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ var rootCmd = &cobra.Command{
// Set the cert paths explicitly to avoid data races
SetCertPaths(gwCertPath, registrationCertPath)
sessionInitialization()
userID := sessionInitialization()
// Set up the listeners for both of the types the client needs for
// the integration test
// Normal text messages
......@@ -296,8 +296,6 @@ var rootCmd = &cobra.Command{
(time.Duration(float64(1000000000) * (float64(1.0) / dummyFrequency)))
}
userID := sessionInitialization()
// Only send a message if we have a message to send (except dummy messages)
recipientId := new(id.User).SetUints(&[4]uint64{0, 0, 0, destinationUserId})
if message != "" {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment