mirror of
https://github.com/chatmail/core.git
synced 2026-04-17 21:46:35 +03:00
Revert "test: Set fetch_existing_msgs for bots (#4976)"
This reverts commit 25b8a482bc.
This commit is contained in:
@@ -551,10 +551,6 @@ class ACFactory:
|
|||||||
fn = module.__file__
|
fn = module.__file__
|
||||||
|
|
||||||
bot_cfg = self.get_next_liveconfig()
|
bot_cfg = self.get_next_liveconfig()
|
||||||
# The bot process is run asynchronously, so some messages can arrive before the bot is fully
|
|
||||||
# initialised. Also delete messages immediately to not process them again after restart.
|
|
||||||
bot_cfg["fetch_existing_msgs"] = "1"
|
|
||||||
bot_cfg["delete_server_after"] = "1"
|
|
||||||
bot_ac = self.prepare_account_from_liveconfig(bot_cfg)
|
bot_ac = self.prepare_account_from_liveconfig(bot_cfg)
|
||||||
|
|
||||||
# Forget ac as it will be opened by the bot subprocess
|
# Forget ac as it will be opened by the bot subprocess
|
||||||
|
|||||||
Reference in New Issue
Block a user