fix duplicate repost when vk rechecking is necessary
This commit is contained in:
@@ -601,9 +601,6 @@ void RepostManager::on_tg_message(td_api::updateNewMessage &update) {
|
||||
}
|
||||
std::vector<AbstractPost> posts = { *post };
|
||||
spdlog::debug("rechecking vk posts before processing the new tg post");
|
||||
recheck_vk_posts([this, posts](){
|
||||
spdlog::debug("processing the new tg post");
|
||||
on_new_posts(posts);
|
||||
});
|
||||
recheck_vk_posts({});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user