summaryrefslogtreecommitdiff
path: root/src/Network
diff options
context:
space:
mode:
Diffstat (limited to 'src/Network')
-rw-r--r--src/Network/Tox/Onion/Handlers.hs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/Network/Tox/Onion/Handlers.hs b/src/Network/Tox/Onion/Handlers.hs
index 047b902d..dc7817db 100644
--- a/src/Network/Tox/Onion/Handlers.hs
+++ b/src/Network/Tox/Onion/Handlers.hs
@@ -173,6 +173,10 @@ toxidSearch getTimeout client = Search
173 { searchSpace = toxSpace 173 { searchSpace = toxSpace
174 , searchNodeAddress = nodeIP &&& nodePort 174 , searchNodeAddress = nodeIP &&& nodePort
175 , searchQuery = getRendezvous getTimeout client 175 , searchQuery = getRendezvous getTimeout client
176 -- TODO: We're using SearchingAlias for all searches. When searching
177 -- for nodes to announce at, we should probably use AnnouncingAlias so
178 -- that the token pingid resulting from the search can be used to
179 -- announce.
176 } 180 }
177 181
178announceSerializer :: (TransactionId -> OnionDestination r -> STM (OnionDestination r, Int)) 182announceSerializer :: (TransactionId -> OnionDestination r -> STM (OnionDestination r, Int))