Improve error message on access to a closed secret chat.
This commit is contained in:
parent
732193b346
commit
224b560c83
@ -1963,7 +1963,7 @@ void SecretChatActor::start_up() {
|
|||||||
auth_state_ = r_auth_state.move_as_ok();
|
auth_state_ = r_auth_state.move_as_ok();
|
||||||
}
|
}
|
||||||
if (!can_be_empty_ && auth_state_.state == State::Empty) {
|
if (!can_be_empty_ && auth_state_.state == State::Empty) {
|
||||||
LOG(WARNING) << "Close Secret chat because it is empty";
|
LOG(INFO) << "Skip creation of empty secret chat " << auth_state_.id;
|
||||||
return stop();
|
return stop();
|
||||||
}
|
}
|
||||||
if (auth_state_.state == State::Closed) {
|
if (auth_state_.state == State::Closed) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user