From 9df534d2c3385a6b53a3fa3d5793ddb57c09a92b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sun, 11 Nov 2012 22:29:16 -0400 Subject: add a yes/no confirm for xmpp pairing requests --- Assistant/Threads/XMPPClient.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assistant/Threads') diff --git a/Assistant/Threads/XMPPClient.hs b/Assistant/Threads/XMPPClient.hs index f526a9574..df602df60 100644 --- a/Assistant/Threads/XMPPClient.hs +++ b/Assistant/Threads/XMPPClient.hs @@ -222,7 +222,7 @@ pairMsgReceived urlrenderer PairReq theiruuid selfjid theirjid finishXMPPPairing theirjid theiruuid -- Show an alert to let the user decide if they want to pair. showalert = do - let route = FinishXMPPPairR (PairKey theiruuid $ formatJID theirjid) + let route = ConfirmXMPPPairR (PairKey theiruuid $ formatJID theirjid) url <- liftIO $ renderUrl urlrenderer route [] close <- asIO1 removeAlert void $ addAlert $ pairRequestReceivedAlert (T.unpack $ buddyName theirjid) -- cgit v1.2.3