mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2025-06-28 12:19:54 +00:00
Merge branch 'ep/operators-preset-servers' into ep/operators-preset-servers-android
This commit is contained in:
commit
e1bdfb724f
2 changed files with 3 additions and 3 deletions
|
@ -52,10 +52,10 @@ import Simplex.Messaging.Transport.Client (TransportHost (..))
|
|||
import Simplex.Messaging.Util (atomicModifyIORef'_, safeDecodeUtf8)
|
||||
|
||||
usageConditionsCommit :: Text
|
||||
usageConditionsCommit = "165143a1112308c035ac00ed669b96b60599aa1c"
|
||||
usageConditionsCommit = "a5061f3147165a05979d6ace33960aced2d6ac03"
|
||||
|
||||
previousConditionsCommit :: Text
|
||||
previousConditionsCommit = "edf99fcd1d7d38d2501d19608b94c084cf00f2ac"
|
||||
previousConditionsCommit = "11a44dc1fd461a93079f897048b46998db55da5c"
|
||||
|
||||
usageConditionsText :: Text
|
||||
usageConditionsText =
|
||||
|
|
|
@ -9,7 +9,7 @@ import qualified Data.Text as T
|
|||
stripFrontMatter :: Text -> Text
|
||||
stripFrontMatter =
|
||||
T.unlines
|
||||
. dropWhile ("# " `T.isPrefixOf`) -- strip title
|
||||
-- . dropWhile ("# " `T.isPrefixOf`) -- strip title
|
||||
. dropWhile (T.all isSpace)
|
||||
. dropWhile fm
|
||||
. (\ls -> let ls' = dropWhile (not . fm) ls in if null ls' then ls else ls')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue