Update default value of chat_read_mark_size_threshold.

This commit is contained in:
levlam 2021-11-19 16:03:23 +03:00
parent 505fed00bd
commit 655896ad4a

View File

@ -17316,7 +17316,7 @@ Status MessagesManager::can_get_message_viewers(DialogId dialog_id, const Messag
if (participant_count == 0) { if (participant_count == 0) {
return Status::Error(400, "Chat is empty or have unknown number of members"); return Status::Error(400, "Chat is empty or have unknown number of members");
} }
if (participant_count > G()->shared_config().get_option_integer("chat_read_mark_size_threshold", 50)) { if (participant_count > G()->shared_config().get_option_integer("chat_read_mark_size_threshold", 100)) {
return Status::Error(400, "Chat is too big"); return Status::Error(400, "Chat is too big");
} }