aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/NotificationType.h
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-06-25 00:09:48 +0300
committerlevlam <levlam@telegram.org>2023-06-25 00:09:48 +0300
commit6c4e6eb6ff0b70124f09a46bf0ec627475fc2f44 (patch)
tree6231aa57d8cff53a1719c15414e223e450a0e06c /td/telegram/NotificationType.h
parent35a3a37e6b34c137770b541ed7001c17a17b6023 (diff)
Explicitly pass Td to get_notification_type_object.
Diffstat (limited to 'td/telegram/NotificationType.h')
-rw-r--r--td/telegram/NotificationType.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/td/telegram/NotificationType.h b/td/telegram/NotificationType.h
index ce2091a75..9f7242e89 100644
--- a/td/telegram/NotificationType.h
+++ b/td/telegram/NotificationType.h
@@ -37,7 +37,8 @@ class NotificationType {
virtual vector<FileId> get_file_ids(const Td *td) const = 0;
- virtual td_api::object_ptr<td_api::NotificationType> get_notification_type_object(DialogId dialog_id) const = 0;
+ virtual td_api::object_ptr<td_api::NotificationType> get_notification_type_object(Td *td,
+ DialogId dialog_id) const = 0;
virtual StringBuilder &to_string_builder(StringBuilder &string_builder) const = 0;
};