@@ -1200,13 +1200,13 @@ testContactShortLink viaProxy a b =
12001200 exchangeGreetingsViaProxy viaProxy a bId b aId
12011201 -- update user data
12021202 let updatedData = " updated user data"
1203- shortLink' <- runRight $ setContactShortLink a contactId updatedData
1203+ shortLink' <- runRight $ setContactShortLink a contactId updatedData Nothing
12041204 shortLink' `shouldBe` shortLink
12051205 (connReq4, updatedConnData') <- runRight $ getConnShortLink c 1 shortLink
12061206 connReq4 `shouldBe` connReq
12071207 linkUserData updatedConnData' `shouldBe` updatedData
12081208 -- one more time
1209- shortLink2 <- runRight $ setContactShortLink a contactId updatedData
1209+ shortLink2 <- runRight $ setContactShortLink a contactId updatedData Nothing
12101210 shortLink2 `shouldBe` shortLink
12111211 -- delete short link
12121212 runRight_ $ deleteContactShortLink a contactId
@@ -1219,7 +1219,7 @@ testAddContactShortLink viaProxy a b =
12191219 (contactId, CCLink connReq0 Nothing ) <- runRight $ A. createConnection a 1 True SCMContact Nothing Nothing CR. IKPQOn SMSubscribe
12201220 Right connReq <- pure $ smpDecode (smpEncode connReq0) --
12211221 let userData = " some user data"
1222- shortLink <- runRight $ setContactShortLink a contactId userData
1222+ shortLink <- runRight $ setContactShortLink a contactId userData Nothing
12231223 (connReq', connData') <- runRight $ getConnShortLink b 1 shortLink
12241224 strDecode (strEncode shortLink) `shouldBe` Right shortLink
12251225 connReq' `shouldBe` connReq
@@ -1247,7 +1247,7 @@ testAddContactShortLink viaProxy a b =
12471247 exchangeGreetingsViaProxy viaProxy a bId b aId
12481248 -- update user data
12491249 let updatedData = " updated user data"
1250- shortLink' <- runRight $ setContactShortLink a contactId updatedData
1250+ shortLink' <- runRight $ setContactShortLink a contactId updatedData Nothing
12511251 shortLink' `shouldBe` shortLink
12521252 (connReq4, updatedConnData') <- runRight $ getConnShortLink c 1 shortLink
12531253 connReq4 `shouldBe` connReq
@@ -1278,7 +1278,7 @@ testContactShortLinkRestart ps = withAgentClients2 $ \a b -> do
12781278 connReq' `shouldBe` connReq
12791279 linkUserData connData' `shouldBe` userData
12801280 -- update user data
1281- shortLink' <- runRight $ setContactShortLink a contactId updatedData
1281+ shortLink' <- runRight $ setContactShortLink a contactId updatedData Nothing
12821282 shortLink' `shouldBe` shortLink
12831283 withSmpServer ps $ do
12841284 (connReq4, updatedConnData') <- runRight $ getConnShortLink b 1 shortLink
@@ -1290,7 +1290,7 @@ testAddContactShortLinkRestart ps = withAgentClients2 $ \a b -> do
12901290 let userData = " some user data"
12911291 ((contactId, CCLink connReq0 Nothing ), shortLink) <- withSmpServer ps $ runRight $ do
12921292 r@ (contactId, _) <- A. createConnection a 1 True SCMContact Nothing Nothing CR. IKPQOn SMOnlyCreate
1293- (r,) <$> setContactShortLink a contactId userData
1293+ (r,) <$> setContactShortLink a contactId userData Nothing
12941294 Right connReq <- pure $ smpDecode (smpEncode connReq0)
12951295 let updatedData = " updated user data"
12961296 withSmpServer ps $ do
@@ -1299,7 +1299,7 @@ testAddContactShortLinkRestart ps = withAgentClients2 $ \a b -> do
12991299 connReq' `shouldBe` connReq
13001300 linkUserData connData' `shouldBe` userData
13011301 -- update user data
1302- shortLink' <- runRight $ setContactShortLink a contactId updatedData
1302+ shortLink' <- runRight $ setContactShortLink a contactId updatedData Nothing
13031303 shortLink' `shouldBe` shortLink
13041304 withSmpServer ps $ do
13051305 (connReq4, updatedConnData') <- runRight $ getConnShortLink b 1 shortLink
0 commit comments