Fix DcId::create.

GitOrigin-RevId: 5eb39fc73ddd0a0d2ddfae312397c0a9ea26cbfc
This commit is contained in:
levlam 2019-06-10 20:00:18 +03:00
parent 99ce6f882a
commit 93d45b6502

View File

@ -42,7 +42,7 @@ class DcId {
}
static DcId create(int32 dc_id_value) {
if (DcId::is_valid(dc_id_value)) {
return DcId(dc_id_value, true);
return DcId(dc_id_value, false);
} else {
return DcId::invalid();
}