Fix running getDifference from read_history_inbox.
GitOrigin-RevId: d756bf323db13a40f7e09f070d522ab61549b489
This commit is contained in:
parent
c81e18f5f1
commit
b25e039a99
@ -8497,7 +8497,8 @@ void MessagesManager::read_history_inbox(DialogId dialog_id, MessageId max_messa
|
||||
}
|
||||
|
||||
if (max_message_id.get() > d->last_new_message_id.get() && dialog_id.get_type() == DialogType::Channel) {
|
||||
get_channel_difference(dialog_id, d->pts, true, "read_history_inbox");
|
||||
LOG(INFO) << "Schedule getDifference in " << dialog_id.get_channel_id();
|
||||
channel_get_difference_retry_timeout_.add_timeout_in(dialog_id.get(), 0.001);
|
||||
}
|
||||
|
||||
bool is_saved_messages = dialog_id == get_my_dialog_id();
|
||||
|
Reference in New Issue
Block a user