sign in relay groups too

This commit is contained in:
Evgeny @ SimpleX Chat
2026-07-27 11:12:06 +00:00
parent 1224da4b51
commit db446c2879
+1 -1
View File
@@ -836,7 +836,7 @@ processAgentMessageConn cxt user@User {userId} corrId agentConnId agentMessage =
-- [incognito] send saved profile
incognitoProfile <- forM customUserProfileId $ \pId -> withStore (\db -> getProfileById db userId pId)
profileToSend <- presentUserBadge user incognitoProfile $ userProfileInGroup user gInfoK (fromLocalProfile <$> incognitoProfile)
if not (useRelays' gInfo) && maxVersion chatVRange >= relayWebCapVersion
if maxVersion chatVRange >= relayWebCapVersion && isJust (groupKeys gInfoK)
then do
dm <- encodeSignedGroupConnInfo gInfoK $ XInfo profileToSend (groupMemberKey gInfoK)
allowAgentConnectionInfo user conn' confId dm