fix combining of pairing alerts

This commit is contained in:
Joey Hess 2012-09-11 15:43:33 -04:00
parent 4227050bbe
commit 99d52f26bc
3 changed files with 8 additions and 10 deletions

View file

@ -56,7 +56,7 @@ getFinishPairR msg = promptSecret (Just msg) $ \_ secret -> do
liftIO $ setup
startPairing PairAck cleanup alert uuid "" secret
where
alert = pairRequestAcknowledgedAlert $ pairRepo msg
alert = pairRequestAcknowledgedAlert (pairRepo msg) . Just
setup = setupAuthorizedKeys msg
cleanup = removeAuthorizedKeys False $
remoteSshPubKey $ pairMsgData msg