diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-10-10 21:36:58 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-10-19 21:37:01 +0200 |
commit | 5b908c86320ee73f2722c85f8a47fa03ec093c6c (patch) | |
tree | 96c57bc839f9c8f50a3bba08075fdfb6ab6eaff4 /src/Service.hs | |
parent | 61808c8cd7b30ceaf9915e72d734c4d095ff67d6 (diff) |
Use extended identity data for name
Diffstat (limited to 'src/Service.hs')
-rw-r--r-- | src/Service.hs | 2 |
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 |