diff options
author | Joey Hess <joey@kitenet.net> | 2012-11-11 22:29:16 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-11-11 22:29:16 -0400 |
commit | 9df534d2c3385a6b53a3fa3d5793ddb57c09a92b (patch) | |
tree | d49ee23c425dd55a3f0985bc25d0ce3ba54e9f44 | |
parent | 9e736d7d40f8156c04b510e1ee20b938230c16cd (diff) |
add a yes/no confirm for xmpp pairing requests
-rw-r--r-- | Assistant/Threads/XMPPClient.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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) |