diff options
| author | levlam <levlam@telegram.org> | 2026-02-21 21:57:50 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2026-02-21 21:57:50 +0300 |
| commit | 26a65189eb8c867f23dfe0e0292d253faa038450 (patch) | |
| tree | 0cc37b0b3a2ae4918c64078cf18ca42cc6344d90 /td/telegram/CallActor.h | |
| parent | 3087b01202f311d3405900b4df008a38417bf6aa (diff) | |
Move saveCallLog to CallManager.
Diffstat (limited to 'td/telegram/CallActor.h')
| -rw-r--r-- | td/telegram/CallActor.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/td/telegram/CallActor.h b/td/telegram/CallActor.h index f304212e9..ce6a40f04 100644 --- a/td/telegram/CallActor.h +++ b/td/telegram/CallActor.h @@ -9,7 +9,6 @@ #include "td/telegram/CallDiscardReason.h" #include "td/telegram/CallId.h" #include "td/telegram/DhConfig.h" -#include "td/telegram/files/FileUploadId.h" #include "td/telegram/net/NetQuery.h" #include "td/telegram/td_api.h" #include "td/telegram/telegram_api.h" @@ -120,7 +119,7 @@ class CallActor final : public NetQueryCallback { void on_save_debug_information(bool result); - void send_call_log(td_api::object_ptr<td_api::InputFile> log_file, Promise<Unit> promise); + void on_save_log(); void update_call(tl_object_ptr<telegram_api::PhoneCall> call); @@ -205,18 +204,6 @@ class CallActor final : public NetQueryCallback { void on_call_discarded(CallDiscardReason reason, bool need_rating, bool need_debug, bool is_video); - void upload_log_file(FileUploadId file_upload_id, Promise<Unit> &&promise); - - void on_upload_log_file(FileUploadId file_upload_id, Promise<Unit> &&promise, - telegram_api::object_ptr<telegram_api::InputFile> input_file); - - void on_upload_log_file_error(FileUploadId file_upload_id, Promise<Unit> &&promise, Status status); - - void do_upload_log_file(FileUploadId file_upload_id, telegram_api::object_ptr<telegram_api::InputFile> &&input_file, - Promise<Unit> &&promise); - - void on_save_log_query_result(FileUploadId file_upload_id, Promise<Unit> promise, Result<NetQueryPtr> r_net_query); - void on_get_call_config_result(Result<NetQueryPtr> r_net_query); void flush_call_state(); |
