Fix skipping channel difference for inaccessible channels.
GitOrigin-RevId: 15d78b8ea6b20c7544f121baf9179deacca94d0d
This commit is contained in:
parent
0a380017d4
commit
c72832b462
@ -25135,6 +25135,7 @@ void MessagesManager::do_get_channel_difference(DialogId dialog_id, int32 pts, b
|
||||
if (!have_access) {
|
||||
LOG(INFO) << "Skip running channels.getDifference for " << dialog_id << " from " << source
|
||||
<< " because have no read access to it";
|
||||
active_get_channel_differencies_.erase(dialog_id);
|
||||
after_get_channel_difference(dialog_id, false);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user