From cc132e005f974577c2ff782add7df8247c4eb541 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 29 Dec 2020 21:39:19 +0100 Subject: Discovery service --- src/Attach.hs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/Attach.hs') 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 -- cgit v1.2.3