Update default value of message_caption_length_max option.

GitOrigin-RevId: ed682441f00cb37d13efdf9931987b3b8dc6e7d6
This commit is contained in:
levlam 2019-04-21 02:25:40 +03:00
parent 87d505ca82
commit ad9ff1e221

View File

@ -4035,7 +4035,7 @@ Status Td::init(DbKey key) {
G()->shared_config().set_option_integer("message_text_length_max", 4096); G()->shared_config().set_option_integer("message_text_length_max", 4096);
} }
if (!G()->shared_config().have_option("message_caption_length_max")) { if (!G()->shared_config().have_option("message_caption_length_max")) {
G()->shared_config().set_option_integer("message_caption_length_max", 200); G()->shared_config().set_option_integer("message_caption_length_max", 1024);
} }
VLOG(td_init) << "Create ConnectionCreator"; VLOG(td_init) << "Create ConnectionCreator";