summaryrefslogtreecommitdiff
path: root/src/Service.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-10-10 21:36:58 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-10-19 21:37:01 +0200
commit5b908c86320ee73f2722c85f8a47fa03ec093c6c (patch)
tree96c57bc839f9c8f50a3bba08075fdfb6ab6eaff4 /src/Service.hs
parent61808c8cd7b30ceaf9915e72d734c4d095ff67d6 (diff)
Use extended identity data for name
Diffstat (limited to 'src/Service.hs')
-rw-r--r--src/Service.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Service.hs b/src/Service.hs
index 580c17d..f15662e 100644
--- a/src/Service.hs
+++ b/src/Service.hs
@@ -172,7 +172,7 @@ svcSetLocal x = modify $ \st -> st { svcLocal = x }
svcSelf :: ServiceHandler s UnifiedIdentity
svcSelf = maybe (throwError "failed to validate own identity") return .
- validateIdentity . lsIdentity . fromStored =<< svcGetLocal
+ validateExtendedIdentity . lsIdentity . fromStored =<< svcGetLocal
svcPrint :: String -> ServiceHandler s ()
svcPrint str = afterCommit . ($ str) =<< asks svcPrintOp