remove unused type

This commit is contained in:
Evgeny Poberezkin
2024-04-17 19:36:53 +01:00
parent a945cc5786
commit 5ede3855ee
2 changed files with 0 additions and 11 deletions
-1
View File
@@ -99,7 +99,6 @@ data SMPClientAgent = SMPClientAgent
randomDrg :: TVar ChaChaDRG,
smpClients :: TMap SMPServer SMPClientVar,
smpSessions :: TMap SessionId SMPClient,
-- TODO add lookup by session ID
srvSubs :: TMap SMPServer (TMap SMPSub C.APrivateAuthKey),
pendingSrvSubs :: TMap SMPServer (TMap SMPSub C.APrivateAuthKey),
reconnections :: TVar [Async ()],
-10
View File
@@ -21,9 +21,7 @@ import Data.X509.Validation (Fingerprint (..))
import Network.Socket (ServiceName)
import qualified Network.TLS as T
import Numeric.Natural
import Simplex.Messaging.Agent.Env.SQLite (Worker)
import Simplex.Messaging.Agent.Lock
import Simplex.Messaging.Client (SMPClient)
import Simplex.Messaging.Client.Agent (SMPClientAgent, SMPClientAgentConfig, newSMPClientAgent)
import Simplex.Messaging.Crypto (KeyHash (..))
import qualified Simplex.Messaging.Crypto as C
@@ -132,14 +130,6 @@ data ProxyAgent = ProxyAgent
{ smpAgent :: SMPClientAgent
}
data RelaySession = RelaySession
{ worker :: Worker,
-- SessionId??
smpClient :: SMPClient,
relayQ :: TBQueue (ClientId, CorrId, C.PublicKeyX25519, ByteString) -- FWD args from multiple clients using this server
-- can be used for QUOTA retries until the session is gone
}
type ClientId = Int
data Client = Client