From bb9cfbe39264fded6a94e0284afd3758748e5a21 Mon Sep 17 00:00:00 2001 From: Michael Lee Date: Thu, 28 Sep 2023 22:52:42 +0800 Subject: [PATCH] Update client version to 1.3.1817 --- shared/common.hh | 2 +- tf-focusd/collector.cc | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/shared/common.hh b/shared/common.hh index ee0345f..d3d6e49 100644 --- a/shared/common.hh +++ b/shared/common.hh @@ -13,7 +13,7 @@ #include constexpr auto TF_DEV = "TG-FOCUS"; -constexpr auto TF_VER = "1.2.817"; +constexpr auto TF_VER = "1.3.1817"; class FileReader { diff --git a/tf-focusd/collector.cc b/tf-focusd/collector.cc index 3088449..e5d44a5 100644 --- a/tf-focusd/collector.cc +++ b/tf-focusd/collector.cc @@ -136,12 +136,6 @@ decorate_msg (const std::string &msg) void TdCollector::collect_msg (const TgMsg &msg, size_t c_count) { - // https://core.telegram.org/tdlib/docs/td__api_8h.html#a7b249263de52128c32781ba0e713b556 - // if (msg.get_chat_title ().find ("TG-FOCUS") != std::string::npos) - // { - // return; - // } - auto text_ctn = fmt::format (R"([ CHAT ] {} [ SENDER ] {}