diff options
author | Trumeet <yuuta@yuuta.moe> | 2022-10-22 14:19:32 -0700 |
---|---|---|
committer | Trumeet <yuuta@yuuta.moe> | 2022-10-22 14:19:32 -0700 |
commit | 57bd18ef88e48c18abf156b2635675df56c4a67e (patch) | |
tree | 799051ed279430013833078b976ec1eb2d9c376b /tdutils.c | |
parent | c03e43f9bc38133f88fb93078e634b105e4a0600 (diff) | |
download | ksyxbot-57bd18ef88e48c18abf156b2635675df56c4a67e.tar ksyxbot-57bd18ef88e48c18abf156b2635675df56c4a67e.tar.gz ksyxbot-57bd18ef88e48c18abf156b2635675df56c4a67e.tar.bz2 ksyxbot-57bd18ef88e48c18abf156b2635675df56c4a67e.zip |
Use version number as TDLib config version
Diffstat (limited to 'tdutils.c')
-rw-r--r-- | tdutils.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,7 @@ #include "tdutils.h" #include "botd.h" #include "log.h" +#include "config.h" #include <stdio.h> #include <td/telegram/td_c_client.h> @@ -252,7 +253,7 @@ static int handle_auth(const struct TdUpdateAuthorizationState *update) { "en", "Desktop", "0.0", - "Channel Helper Bot 1.0", + "ksyxbotd "VER_MAJOR"."VER_MINOR, false, true )), |