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
dbb6d196
Commit
dbb6d196
authored
Nov 10, 2014
by
Vysheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more write_secret_chat_file calls
parent
723756f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
interface.c
interface.c
+5
-4
No files found.
interface.c
View file @
dbb6d196
...
...
@@ -1272,6 +1272,9 @@ int complete_string_list (char **list, int index, const char *text, int len, cha
return
-
1
;
}
}
void
print_msg_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
,
struct
tgl_message
*
M
);
void
print_encr_chat_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
,
struct
tgl_secret_chat
*
E
);;
void
print_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
);
int
complete_command_list
(
int
index
,
const
char
*
text
,
int
len
,
char
**
R
)
{
index
++
;
...
...
@@ -1279,9 +1282,6 @@ int complete_command_list (int index, const char *text, int len, char **R) {
index
++
;
}
if
(
commands
[
index
].
name
)
{
void
print_msg_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
,
struct
tgl_message
*
M
);
void
print_encr_chat_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
,
struct
tgl_secret_chat
*
E
);;
void
print_success_gw
(
struct
tgl_state
*
TLS
,
void
*
extra
,
int
success
);
*
R
=
strdup
(
commands
[
index
].
name
);
assert
(
*
R
);
return
index
;
...
...
@@ -1952,7 +1952,8 @@ void secret_chat_update_gw (struct tgl_state *TLSR, struct tgl_secret_chat *U, u
if
(
!
binlog_read
)
{
return
;
}
if
((
flags
&
TGL_UPDATE_REQUESTED
)
&&
!
disable_auto_accept
)
{
tgl_do_accept_encr_chat_request
(
TLS
,
U
,
0
,
0
);
//tgl_do_accept_encr_chat_request (TLS, U, 0, 0);
tgl_do_accept_encr_chat_request
(
TLS
,
U
,
print_encr_chat_success_gw
,
0
);
}
if
(
disable_output
&&
!
notify_ev
)
{
return
;
}
...
...
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