Improve error message.

GitOrigin-RevId: 327d6a2e7ef2335a2e8fcaf5db9b5faa4b960622
This commit is contained in:
levlam 2020-02-14 00:45:04 +03:00
parent f15542b5df
commit 6c29a4c54b

View File

@ -12099,7 +12099,7 @@ std::pair<int32, vector<DialogParticipant>> ContactsManager::get_channel_partici
}
if (channel_full != nullptr && !channel_full->is_expired() && !channel_full->can_get_participants) {
promise.set_error(Status::Error(3, "Supergroup members are unavailable"));
promise.set_error(Status::Error(3, "Member list is inaccessible"));
return result;
}