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
20ce2ae1
Commit
20ce2ae1
authored
May 01, 2015
by
SyRenity
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update lua-tg.c
Added username field to message table passed to Lua
parent
393b5142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
lua-tg.c
lua-tg.c
+1
-0
No files found.
lua-tg.c
View file @
20ce2ae1
...
...
@@ -102,6 +102,7 @@ void push_user (tgl_peer_t *P) {
lua_add_string_field
(
"real_first_name"
,
P
->
user
.
real_first_name
);
lua_add_string_field
(
"real_last_name"
,
P
->
user
.
real_last_name
);
lua_add_string_field
(
"phone"
,
P
->
user
.
phone
);
lua_add_string_field
(
"username"
,
P
->
user
.
username
);
if
(
P
->
user
.
access_hash
)
{
lua_add_num_field
(
"access_hash"
,
1
);
}
...
...
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