Return debug in on_message_ttl_expired_impl.

GitOrigin-RevId: b82816793bf1a142757b65b54396796cad5efe63
This commit is contained in:
levlam 2018-07-16 06:08:57 +03:00
parent bdbe8f990c
commit ec2f70cb19

View File

@ -9756,6 +9756,7 @@ void MessagesManager::on_message_ttl_expired_impl(Dialog *d, Message *message) {
// can happen if message content file id is broken
break;
default:
CHECK(false) << d->dialog_id << " " << message->ttl << " " << message->content->get_id();
UNREACHABLE();
}
message->ttl = 0;