Use new version of libtgl
This commit is contained in:
parent
cbf952493c
commit
7f83a1246e
1
loop.c
1
loop.c
@ -723,6 +723,7 @@ int loop (void) {
|
||||
tgl_set_timer_methods (TLS, &tgl_libevent_timers);
|
||||
assert (TLS->timer_methods);
|
||||
tgl_set_download_directory (TLS, get_downloads_directory ());
|
||||
tgl_register_app_id (TLS, TELEGRAM_CLI_APP_ID, TELEGRAM_CLI_APP_HASH);
|
||||
tgl_init (TLS);
|
||||
|
||||
if (binlog_enabled) {
|
||||
|
3
loop.h
3
loop.h
@ -18,6 +18,9 @@
|
||||
*/
|
||||
#ifndef __LOOP_H__
|
||||
#define __LOOP_H__
|
||||
#define TELEGRAM_CLI_APP_HASH "36722c72256a24c1225de00eb6a1ca74"
|
||||
#define TELEGRAM_CLI_APP_ID 2899
|
||||
|
||||
int loop (void);
|
||||
void do_halt (int error);
|
||||
void net_loop (int flags, int (*end)(void));
|
||||
|
2
tgl
2
tgl
@ -1 +1 @@
|
||||
Subproject commit 343cf63ead5872975c4e24ac936dc2b255dcf7fc
|
||||
Subproject commit a2403df85b430311feb6a8c214428802800b1633
|
Loading…
Reference in New Issue
Block a user