Process updateReadStories for owned stories.
This commit is contained in:
parent
64264b0f77
commit
e695289557
@ -3096,9 +3096,6 @@ void StoryManager::save_active_stories(DialogId owner_dialog_id, const ActiveSto
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool StoryManager::on_update_read_stories(DialogId owner_dialog_id, StoryId max_read_story_id) {
|
bool StoryManager::on_update_read_stories(DialogId owner_dialog_id, StoryId max_read_story_id) {
|
||||||
if (owner_dialog_id == DialogId(td_->contacts_manager_->get_my_id())) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (!td_->messages_manager_->have_dialog_info_force(owner_dialog_id)) {
|
if (!td_->messages_manager_->have_dialog_info_force(owner_dialog_id)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user