summaryrefslogtreecommitdiff
path: root/Assistant/Threads/PairListener.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-11-05 17:43:17 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-11-05 17:43:17 -0400
commita4667e3e8cb7fae50b0c2cb8bc1a46df0b289b6c (patch)
tree9f75d066b025e99f7015818ccbe143d70b5bbae7 /Assistant/Threads/PairListener.hs
parentdedc9790ef60b0965c0c34acd080ef8d4906e07a (diff)
finished XMPP pairing!
This includes keeping track of which buddies we're pairing with, to know which PairAck are legitimate.
Diffstat (limited to 'Assistant/Threads/PairListener.hs')
-rw-r--r--Assistant/Threads/PairListener.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/Threads/PairListener.hs b/Assistant/Threads/PairListener.hs
index c169aa255..44b35a9c3 100644
--- a/Assistant/Threads/PairListener.hs
+++ b/Assistant/Threads/PairListener.hs
@@ -123,7 +123,7 @@ pairAckReceived True (Just pip) msg cache = do
stopSending pip
repodir <- repoPath <$> liftAnnex gitRepo
liftIO $ setupAuthorizedKeys msg repodir
- finishedPairing msg (inProgressSshKeyPair pip)
+ finishedLocalPairing msg (inProgressSshKeyPair pip)
startSending pip PairDone $ multicastPairMsg
(Just 1) (inProgressSecret pip) (inProgressPairData pip)
return $ pip : take 10 cache
@@ -153,4 +153,4 @@ pairDoneReceived False _ _ = noop -- not verified
pairDoneReceived True Nothing _ = noop -- not in progress
pairDoneReceived True (Just pip) msg = do
stopSending pip
- finishedPairing msg (inProgressSshKeyPair pip)
+ finishedLocalPairing msg (inProgressSshKeyPair pip)