summaryrefslogtreecommitdiff
path: root/ToxManager.hs
diff options
context:
space:
mode:
authorjoe <joe@jerkface.net>2018-06-18 13:32:02 -0400
committerjoe <joe@jerkface.net>2018-06-18 13:32:02 -0400
commita45b000e07a806e171f1e4701abd3e025382ecf3 (patch)
tree52b562e145a2c19ba255a73fdf914af953a39e11 /ToxManager.hs
parent19364a287f7083fc60beed2d6eae3dd71d27e737 (diff)
Factored separate code-paths for Kademlia announce versus action
on search result.
Diffstat (limited to 'ToxManager.hs')
-rw-r--r--ToxManager.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/ToxManager.hs b/ToxManager.hs
index af1911d4..1e9c618d 100644
--- a/ToxManager.hs
+++ b/ToxManager.hs
@@ -81,10 +81,10 @@ toxman announcer toxbkts tox presence = ToxManager
81 -- Schedule recurring announce. 81 -- Schedule recurring announce.
82 -- 82 --
83 akey <- atomically $ packAnnounceKey announcer $ "toxid:" ++ show pubid 83 akey <- atomically $ packAnnounceKey announcer $ "toxid:" ++ show pubid
84 schedule announcer 84 scheduleAnnounce announcer
85 akey 85 akey
86 (AnnounceMethod (toxQSearch tox) 86 (AnnounceMethod (toxQSearch tox)
87 (Right $ toxAnnounceSendData tox) 87 (toxAnnounceSendData tox)
88 nearNodes 88 nearNodes
89 pubid 89 pubid
90 toxAnnounceInterval) 90 toxAnnounceInterval)