Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tg
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
tg
Commits
865c0a93
Commit
865c0a93
authored
Oct 10, 2015
by
V V
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated tgl
parent
dd748e1b
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
+4
-3
loop.c
loop.c
+1
-1
lua-tg.c
lua-tg.c
+2
-1
tgl
tgl
+1
-1
No files found.
loop.c
View file @
865c0a93
...
...
@@ -813,7 +813,7 @@ int loop (void) {
if
(
disable_link_preview
)
{
tgl_disable_link_preview
(
TLS
);
}
tgl_init
(
TLS
);
assert
(
tgl_init
(
TLS
)
>=
0
);
/*if (binlog_enabled) {
double t = tglt_get_double_time ();
...
...
lua-tg.c
View file @
865c0a93
...
...
@@ -227,9 +227,10 @@ void push_peer (tgl_peer_id_t id, tgl_peer_t *P) {
lua_newtable
(
luaState
);
lua_add_string_field
(
"id"
,
print_permanent_peer_id
(
P
->
id
));
lua_pushstring
(
luaState
,
"type"
);
lua_pushstring
(
luaState
,
"
peer_
type"
);
push_tgl_peer_type
(
tgl_get_peer_type
(
P
->
id
));
lua_settable
(
luaState
,
-
3
);
lua_add_num_field
(
"peer_id"
,
tgl_get_peer_id
(
P
->
id
));
if
(
!
P
||
!
(
P
->
flags
&
TGLPF_CREATED
))
{
lua_pushstring
(
luaState
,
"print_name"
);
...
...
tgl
@
6467a94e
Subproject commit
511860ecf69f51e0a8f2e0617490f81e624e0fb
2
Subproject commit
6467a94ee3d9f69b6f23d66221f7bd0d58df7ac
2
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment