core: pause cleanup when chat is suspended (#3658)

This commit is contained in:
spaced4ndy
2024-01-08 17:28:01 +04:00
committed by GitHub
parent 3ccd9903a7
commit 58ad97fe6d
2 changed files with 20 additions and 6 deletions
+1
View File
@@ -200,6 +200,7 @@ data ChatController = ChatController
expireCIThreads :: TMap UserId (Maybe (Async ())),
expireCIFlags :: TMap UserId Bool,
cleanupManagerAsync :: TVar (Maybe (Async ())),
chatActivated :: TVar Bool,
timedItemThreads :: TMap (ChatRef, ChatItemId) (TVar (Maybe (Weak ThreadId))),
showLiveItems :: TVar Bool,
encryptLocalFiles :: TVar Bool,