summaryrefslogtreecommitdiff
path: root/protocols/Telegram/tdlib/td/td/telegram/Notification.h
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Telegram/tdlib/td/td/telegram/Notification.h')
-rw-r--r--protocols/Telegram/tdlib/td/td/telegram/Notification.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Telegram/tdlib/td/td/telegram/Notification.h b/protocols/Telegram/tdlib/td/td/telegram/Notification.h
index 20698114bf..966ee540a9 100644
--- a/protocols/Telegram/tdlib/td/td/telegram/Notification.h
+++ b/protocols/Telegram/tdlib/td/td/telegram/Notification.h
@@ -1,5 +1,5 @@
//
-// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2023
+// Copyright Aliaksei Levin (levlam@telegram.org), Arseny Smirnov (arseny30@gmail.com) 2014-2024
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
@@ -31,12 +31,12 @@ class Notification {
}
};
-inline td_api::object_ptr<td_api::notification> get_notification_object(DialogId dialog_id,
+inline td_api::object_ptr<td_api::notification> get_notification_object(Td *td, DialogId dialog_id,
const Notification &notification) {
CHECK(notification.type != nullptr);
return td_api::make_object<td_api::notification>(notification.notification_id.get(), notification.date,
notification.disable_notification,
- notification.type->get_notification_type_object(dialog_id));
+ notification.type->get_notification_type_object(td, dialog_id));
}
inline StringBuilder &operator<<(StringBuilder &sb, const Notification &notification) {