summaryrefslogtreecommitdiff
path: root/src/Network/Tox.hs
diff options
context:
space:
mode:
authorJames Crayne <jim.crayne@gmail.com>2017-10-31 19:41:13 +0000
committerJames Crayne <jim.crayne@gmail.com>2017-10-31 19:41:13 +0000
commit1914912b1fb1163987eee378a03324b71aaf0581 (patch)
tree6991e770139988b73f7cba2b332e27d281b9339a /src/Network/Tox.hs
parent7fe3c9e04ecd7aec962bcc83bc4cf5139cf732f0 (diff)
change name: defaultCryptoDataHooks
Diffstat (limited to 'src/Network/Tox.hs')
-rw-r--r--src/Network/Tox.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Network/Tox.hs b/src/Network/Tox.hs
index 2f778874..70962844 100644
--- a/src/Network/Tox.hs
+++ b/src/Network/Tox.hs
@@ -89,7 +89,7 @@ import Crypto.Tox
89import Data.Word64Map (fitsInInt) 89import Data.Word64Map (fitsInInt)
90import qualified Data.Word64Map (empty) 90import qualified Data.Word64Map (empty)
91import Network.Tox.Crypto.Transport (NetCrypto) 91import Network.Tox.Crypto.Transport (NetCrypto)
92import Network.Tox.Crypto.Handlers (newSessionsState, cryptoNetHandler, cryptoDefaultHooks) 92import Network.Tox.Crypto.Handlers (newSessionsState, cryptoNetHandler, defaultCryptoDataHooks)
93import qualified Network.Tox.DHT.Handlers as DHT 93import qualified Network.Tox.DHT.Handlers as DHT
94import qualified Network.Tox.DHT.Transport as DHT 94import qualified Network.Tox.DHT.Transport as DHT
95import Network.Tox.NodeId 95import Network.Tox.NodeId
@@ -309,7 +309,7 @@ newTox keydb addr = do
309 (const id) 309 (const id)
310 310
311 roster <- newRoster 311 roster <- newRoster
312 sessionsState <- newSessionsState crypto cryptoDefaultHooks 312 sessionsState <- newSessionsState crypto defaultCryptoDataHooks
313 return Tox 313 return Tox
314 { toxDHT = dhtclient 314 { toxDHT = dhtclient
315 , toxOnion = onionclient 315 , toxOnion = onionclient