Merge branch 'master' into group-knocking

This commit is contained in:
Evgeny Poberezkin
2025-04-25 07:54:13 +01:00
56 changed files with 1308 additions and 260 deletions
+2 -2
View File
@@ -3235,9 +3235,9 @@ processChatCommand' vr = \case
hash :: ConnReqContact -> ConnReqUriHash
hash = ConnReqUriHash . C.sha256Hash . strEncode
getShortLinkConnReq :: User -> ConnShortLink m -> CM (ConnectionRequestUri m)
getShortLinkConnReq User {userId} l = do
getShortLinkConnReq user l = do
l' <- restoreShortLink' l
(cReq, cData) <- withAgent (\a -> getConnShortLink a userId l')
(cReq, cData) <- withAgent (\a -> getConnShortLink a (aUserId user) l')
case cData of
ContactLinkData {direct} | not direct -> throwChatError CEUnsupportedConnReq
_ -> pure ()
+2 -2
View File
@@ -75,11 +75,11 @@ remoteFilesFolder = "simplex_v1_files"
-- when acting as host
minRemoteCtrlVersion :: AppVersion
minRemoteCtrlVersion = AppVersion [6, 3, 0, 8]
minRemoteCtrlVersion = AppVersion [6, 3, 3, 1]
-- when acting as controller
minRemoteHostVersion :: AppVersion
minRemoteHostVersion = AppVersion [6, 3, 0, 8]
minRemoteHostVersion = AppVersion [6, 3, 3, 1]
currentAppVersion :: AppVersion
currentAppVersion = AppVersion SC.version