add a yes/no confirm for xmpp pairing requests
This commit is contained in:
parent
9f5b23d49f
commit
8b22bd8831
5 changed files with 18 additions and 4 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue