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
e0f5f163
Commit
e0f5f163
authored
Nov 29, 2015
by
Yago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes chat_add_user and chat_del_user. 'p + 2' in stead of 'p + 1'
parent
ea86db50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lua-tg.c
lua-tg.c
+2
-2
No files found.
lua-tg.c
View file @
e0f5f163
...
@@ -1258,11 +1258,11 @@ void lua_do_all (void) {
...
@@ -1258,11 +1258,11 @@ void lua_do_all (void) {
p
+=
3
;
p
+=
3
;
break
;
break
;
case
lq_chat_add_user
:
case
lq_chat_add_user
:
tgl_do_add_user_to_chat
(
TLS
,
lua_ptr
[
p
+
1
].
peer_id
,
lua_ptr
[
p
+
1
].
peer_id
,
10
,
lua_empty_cb
,
lua_ptr
[
p
].
ptr
);
tgl_do_add_user_to_chat
(
TLS
,
lua_ptr
[
p
+
1
].
peer_id
,
lua_ptr
[
p
+
2
].
peer_id
,
10
,
lua_empty_cb
,
lua_ptr
[
p
].
ptr
);
p
+=
3
;
p
+=
3
;
break
;
break
;
case
lq_chat_del_user
:
case
lq_chat_del_user
:
tgl_do_del_user_from_chat
(
TLS
,
lua_ptr
[
p
+
1
].
peer_id
,
lua_ptr
[
p
+
1
].
peer_id
,
lua_empty_cb
,
lua_ptr
[
p
].
ptr
);
tgl_do_del_user_from_chat
(
TLS
,
lua_ptr
[
p
+
1
].
peer_id
,
lua_ptr
[
p
+
2
].
peer_id
,
lua_empty_cb
,
lua_ptr
[
p
].
ptr
);
p
+=
3
;
p
+=
3
;
break
;
break
;
case
lq_add_contact
:
case
lq_add_contact
:
...
...
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