From 67171092f479742fda73219c33998aed8be273f3 Mon Sep 17 00:00:00 2001 From: shum Date: Wed, 3 Dec 2025 08:09:01 +0000 Subject: [PATCH] src/Operators: embed PRIVACY.md without full paths --- src/Simplex/Chat/Operators.hs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Chat/Operators.hs b/src/Simplex/Chat/Operators.hs index 24baa37e4e..e6fe91cd49 100644 --- a/src/Simplex/Chat/Operators.hs +++ b/src/Simplex/Chat/Operators.hs @@ -63,8 +63,9 @@ previousConditionsCommit = "a5061f3147165a05979d6ace33960aced2d6ac03" usageConditionsText :: Text usageConditionsText = - $( let s = $(embedFile =<< makeRelativeToProject "PRIVACY.md") - in [|stripFrontMatter $(lift (safeDecodeUtf8 s))|] + $( do + let bs = $(embedFile "PRIVACY.md") + [| stripFrontMatter (safeDecodeUtf8 bs) |] ) data OperatorTag = OTSimplex | OTFlux