From 5b908c86320ee73f2722c85f8a47fa03ec093c6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Tue, 10 Oct 2023 21:36:58 +0200 Subject: Use extended identity data for name --- src/Service.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Service.hs') 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 -- cgit v1.2.3