aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/secret.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-04-18 01:22:56 +0300
committerlevlam <levlam@telegram.org>2025-04-18 01:22:56 +0300
commit4f3f58fa55d2d4e1d4aba9592c6e8303f56211ae (patch)
tree7a925c756a25161e25cda8b6198b2f331eefe76a /test/secret.cpp
parent65556594ef3af4d8f448a3a010b4f1083cd80b52 (diff)
Use bool parameters in messages.* functions.
Diffstat (limited to 'test/secret.cpp')
-rw-r--r--test/secret.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/secret.cpp b/test/secret.cpp
index 22f6e53de..9405f0ebc 100644
--- a/test/secret.cpp
+++ b/test/secret.cpp
@@ -890,8 +890,8 @@ class Master final : public Actor {
LOG(INFO) << "Send message: " << tag("id", id) << tag("text", text) << tag("random_id", random_id);
sent_messages_[random_id] = Message{id, text};
send_closure(get_by_id(id), &SecretChatProxy::send_message,
- secret_api::make_object<secret_api::decryptedMessage>(0, false /*ignored*/, random_id, 0, text, Auto(),
- Auto(), Auto(), Auto(), 0));
+ secret_api::make_object<secret_api::decryptedMessage>(0, false, random_id, 0, text, Auto(), Auto(),
+ Auto(), Auto(), 0));
}
void process_net_query(my_api::messages_sendEncryptedService &&message, NetQueryPtr net_query,
ActorShared<NetQueryCallback> callback) {