From 8a0e39aee7bc25614108325e0a6b66d95674634c Mon Sep 17 00:00:00 2001
From: josh <josh@elixxir.io>
Date: Tue, 18 May 2021 13:43:55 -0700
Subject: [PATCH] Add forceMessagePickupRetry to API

---
 cmd/root.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cmd/root.go b/cmd/root.go
index ed2e2b993..757c11591 100644
--- a/cmd/root.go
+++ b/cmd/root.go
@@ -348,6 +348,7 @@ func createClient() *api.Client {
 		viper.GetUint("e2eNumReKeys"))
 	netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds")
 	netParams.FastPolling = !viper.GetBool("slowPolling")
+	netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry")
 
 	client, err := api.OpenClient(storeDir, []byte(pass), netParams)
 	if err != nil {
@@ -369,6 +370,7 @@ func initClient() *api.Client {
 		viper.GetUint("e2eNumReKeys"))
 	netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds")
 	netParams.FastPolling = viper.GetBool(" slowPolling")
+	netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry")
 
 	//load the client
 	client, err := api.Login(storeDir, []byte(pass), netParams)
-- 
GitLab