From 8d6fe2be99d22766ae98e883835e9ebd0496bfcf Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Thu, 23 Mar 2023 17:29:04 +0400 Subject: [PATCH] core: restore stateTVar imports --- src/Simplex/Chat.hs | 2 +- src/Simplex/Chat/Store.hs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Simplex/Chat.hs b/src/Simplex/Chat.hs index 392e260e71..a07979fab0 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 b443fa36eb..d9f01985bc 100644 --- a/src/Simplex/Chat/Store.hs +++ b/src/Simplex/Chat/Store.hs @@ -275,6 +275,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