mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-10-22 11:32:27 +00:00
core: change relay link type (#6411)
This commit is contained in:
1 parent
47dd07803b
commit
f79f679065
8 files changed
+32
-23
No files matched your search
@@ -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}
|
||||
|
||||
|
||||
Reference in new issue
Block a user