Skip to content
Snippets Groups Projects
Commit 8a0e39ae authored by Josh Brooks's avatar Josh Brooks
Browse files

Add forceMessagePickupRetry to API

parent 12dc1cdc
Branches
Tags
1 merge request!23Release
...@@ -348,6 +348,7 @@ func createClient() *api.Client { ...@@ -348,6 +348,7 @@ func createClient() *api.Client {
viper.GetUint("e2eNumReKeys")) viper.GetUint("e2eNumReKeys"))
netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds") netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds")
netParams.FastPolling = !viper.GetBool("slowPolling") netParams.FastPolling = !viper.GetBool("slowPolling")
netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry")
client, err := api.OpenClient(storeDir, []byte(pass), netParams) client, err := api.OpenClient(storeDir, []byte(pass), netParams)
if err != nil { if err != nil {
...@@ -369,6 +370,7 @@ func initClient() *api.Client { ...@@ -369,6 +370,7 @@ func initClient() *api.Client {
viper.GetUint("e2eNumReKeys")) viper.GetUint("e2eNumReKeys"))
netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds") netParams.ForceHistoricalRounds = viper.GetBool("forceHistoricalRounds")
netParams.FastPolling = viper.GetBool(" slowPolling") netParams.FastPolling = viper.GetBool(" slowPolling")
netParams.ForceMessagePickupRetry = viper.GetBool("forceMessagePickupRetry")
//load the client //load the client
client, err := api.Login(storeDir, []byte(pass), netParams) client, err := api.Login(storeDir, []byte(pass), netParams)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment