Merge branch 'master' of ssh.git.ignuranza.net:andreacavalli/tdlib-fork
This commit is contained in:
commit
1b64d0e793
@ -721,6 +721,9 @@ void WebPagesManager::unregister_web_page(WebPageId web_page_id, FullMessageId f
|
||||
LOG(INFO) << "Unregister " << web_page_id << " from " << full_message_id << " from " << source;
|
||||
auto &message_ids = web_page_messages_[web_page_id];
|
||||
auto is_deleted = message_ids.erase(full_message_id);
|
||||
if (!is_deleted) {
|
||||
return;
|
||||
}
|
||||
LOG_CHECK(is_deleted) << source << " " << web_page_id << " " << full_message_id;
|
||||
|
||||
if (message_ids.empty()) {
|
||||
|
Reference in New Issue
Block a user