From 7504f81b72a1ca917341dc26111d487b216a15e0 Mon Sep 17 00:00:00 2001 From: Arseny Smirnov Date: Tue, 13 Mar 2018 19:10:26 +0300 Subject: [PATCH] tg_cli: fix send document command GitOrigin-RevId: 9f210b4d1080c8aa2cafb7a53b073d191edaf35e --- td/telegram/cli.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/td/telegram/cli.cpp b/td/telegram/cli.cpp index df0df900..aed087c2 100644 --- a/td/telegram/cli.cpp +++ b/td/telegram/cli.cpp @@ -2252,13 +2252,7 @@ class CliClient final : public Actor { std::tie(chat_id, document_path) = split(args); send_message(chat_id, make_tl_object( as_local_file(document_path), nullptr, - Random::fast(0, 1) - ? as_caption(u8"\u1680\u180Etest \u180E\n\u180E\n\u180E\n cap\ttion\u180E\u180E") - : as_caption(u8"\u200C\u200D\u202E " - " " - " " - " " - " abacaba"))); + as_caption(u8"\u1680\u180Etest \u180E\n\u180E\n\u180E\n cap\ttion\u180E\u180E"))); } else if (op == "sdt") { string chat_id; string document_path;