From 3dd5b5d83545aae3e747d57cebfbdd983e9c7ea8 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Sat, 18 Mar 2023 07:59:43 +0000 Subject: [PATCH] core: 4.5.4.2 (add stateTVar imports) --- package.yaml | 2 +- simplex-chat.cabal | 2 +- src/Simplex/Chat.hs | 2 +- src/Simplex/Chat/Store.hs | 1 + 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package.yaml b/package.yaml index 2f5ea385a6..af592f0e7e 100644 --- a/package.yaml +++ b/package.yaml @@ -1,5 +1,5 @@ name: simplex-chat -version: 4.5.4.1 +version: 4.5.4.2 #synopsis: #description: homepage: https://github.com/simplex-chat/simplex-chat#readme diff --git a/simplex-chat.cabal b/simplex-chat.cabal index 82e8b6fd74..658b057e3b 100644 --- a/simplex-chat.cabal +++ b/simplex-chat.cabal @@ -5,7 +5,7 @@ cabal-version: 1.12 -- see: https://github.com/sol/hpack name: simplex-chat -version: 4.5.4.1 +version: 4.5.4.2 category: Web, System, Services, Cryptography homepage: https://github.com/simplex-chat/simplex-chat#readme author: simplex.chat diff --git a/src/Simplex/Chat.hs b/src/Simplex/Chat.hs index 8d7b3dc44d..84ef81c547 100644 --- a/src/Simplex/Chat.hs +++ b/src/Simplex/Chat.hs @@ -15,7 +15,7 @@ module Simplex.Chat where import Control.Applicative (optional, (<|>)) -import Control.Concurrent.STM (retry) +import Control.Concurrent.STM (retry, stateTVar) import Control.Logger.Simple import Control.Monad.Except import Control.Monad.IO.Unlift diff --git a/src/Simplex/Chat/Store.hs b/src/Simplex/Chat/Store.hs index 22f82721a9..12c8f6bd73 100644 --- a/src/Simplex/Chat/Store.hs +++ b/src/Simplex/Chat/Store.hs @@ -259,6 +259,7 @@ module Simplex.Chat.Store where import Control.Applicative ((<|>)) +import Control.Concurrent.STM (stateTVar) import Control.Exception (Exception) import qualified Control.Exception as E import Control.Monad.Except