summaryrefslogtreecommitdiff
path: root/src/Attach.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2020-12-29 21:39:19 +0100
committerRoman Smrž <roman.smrz@seznam.cz>2020-12-30 21:47:58 +0100
commitcc132e005f974577c2ff782add7df8247c4eb541 (patch)
tree8fde890ef80e33fc1b4b81d4176d642157a29a12 /src/Attach.hs
parentb2d1f57098ae12a22fe7511eb765c39158600d17 (diff)
Discovery service
Diffstat (limited to 'src/Attach.hs')
-rw-r--r--src/Attach.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Attach.hs b/src/Attach.hs
index 4df7e5f..055c7fe 100644
--- a/src/Attach.hs
+++ b/src/Attach.hs
@@ -38,19 +38,19 @@ instance PairingResult AttachIdentity where
pairingServiceID _ = mkServiceID "4995a5f9-2d4d-48e9-ad3b-0bf1c2a1be7f"
pairingHookRequest = do
- peer <- asks $ svcPeer
+ peer <- asks $ svcPeerIdentity
svcPrint $ "Attach from " ++ T.unpack (displayIdentity peer) ++ " initiated"
pairingHookResponse confirm = do
- peer <- asks $ svcPeer
+ peer <- asks $ svcPeerIdentity
svcPrint $ "Attach to " ++ T.unpack (displayIdentity peer) ++ ": " ++ confirm
pairingHookRequestNonce confirm = do
- peer <- asks $ svcPeer
+ peer <- asks $ svcPeerIdentity
svcPrint $ "Attach from " ++ T.unpack (displayIdentity peer) ++ ": " ++ confirm
pairingHookRequestNonceFailed = do
- peer <- asks $ svcPeer
+ peer <- asks $ svcPeerIdentity
svcPrint $ "Failed attach from " ++ T.unpack (displayIdentity peer)
pairingHookConfirm (AttachIdentity sdata keys _) = do