core: change relay link type (#6411)

This commit is contained in:
spaced4ndy authored and GitHub committed 2025-10-27 14:24:53 +00:00
1 parent 47dd07803b
commit f79f679065
8 files changed
+32 -23

No files matched your search

+1 -1
View File
@@ -625,7 +625,7 @@ getChatRelays db User {userId} =
|]
(Only userId)
where
toChatRelay :: (DBEntityId, ConnLinkContact, Text, Text, BoolInt, Maybe BoolInt, BoolInt) -> UserChatRelay
toChatRelay :: (DBEntityId, ShortLinkContact, Text, Text, BoolInt, Maybe BoolInt, BoolInt) -> UserChatRelay
toChatRelay (chatRelayId, address, name, domains, BI preset, tested, BI enabled) =
UserChatRelay {chatRelayId, address, name, domains = T.splitOn "," domains, preset, tested = unBI <$> tested, enabled, deleted = False}