diff options
Diffstat (limited to 'src/Network')
-rw-r--r-- | src/Network/Tox.hs | 1 | ||||
-rw-r--r-- | src/Network/Tox/Crypto/Handlers.hs | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs index 3324c934..4d244199 100644 --- a/src/Network/Tox.hs +++ b/src/Network/Tox.hs | |||
@@ -492,6 +492,7 @@ newTox keydb addr mbSessionsState suppliedDHTKey = do | |||
492 | , toxOnionRoutes = orouter | 492 | , toxOnionRoutes = orouter |
493 | , toxContactInfo = roster | 493 | , toxContactInfo = roster |
494 | , toxAnnounceToLan = announceToLan sock (key2id $ transportPublic crypto) | 494 | , toxAnnounceToLan = announceToLan sock (key2id $ transportPublic crypto) |
495 | , toxMgr = mgr | ||
495 | } | 496 | } |
496 | 497 | ||
497 | onionTimeout :: Tox -> DHT.TransactionId -> Onion.OnionDestination RouteId -> STM (Onion.OnionDestination RouteId, Int) | 498 | onionTimeout :: Tox -> DHT.TransactionId -> Onion.OnionDestination RouteId -> STM (Onion.OnionDestination RouteId, Int) |
diff --git a/src/Network/Tox/Crypto/Handlers.hs b/src/Network/Tox/Crypto/Handlers.hs index 61b2ab3c..1acc333e 100644 --- a/src/Network/Tox/Crypto/Handlers.hs +++ b/src/Network/Tox/Crypto/Handlers.hs | |||
@@ -57,6 +57,7 @@ import Text.Printf | |||
57 | import Data.Bool | 57 | import Data.Bool |
58 | import Connection (Status(..), Policy(..)) | 58 | import Connection (Status(..), Policy(..)) |
59 | import Connection.Tox.Threads (ToxProgress(..)) | 59 | import Connection.Tox.Threads (ToxProgress(..)) |
60 | import Network.Tox.ContactInfo | ||
60 | 61 | ||
61 | type LookupPolicyFunction = Key -> STM Policy | 62 | type LookupPolicyFunction = Key -> STM Policy |
62 | 63 | ||