core: start receiving files on chat activation (#2387)

This commit is contained in:
spaced4ndy authored and GitHub committed 2023-05-05 15:49:31 +04:00
1 parent b95a351222
commit d19a59a364
1 file changed
+1
+1
View File
@@ -409,6 +409,7 @@ processChatCommand = \case
APIActivateChat -> withUser $ \_ -> do
restoreCalls
withAgent foregroundAgent
withStore' getUsers >>= void . forkIO . startFilesToReceive
setAllExpireCIFlags True
ok_
APISuspendChat t -> do