diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index e2c226137..dc9261251 100644 --- a/td/telegram/NotificationManager.cpp +++ b/td/telegram/NotificationManager.cpp @@ -327,7 +327,7 @@ void NotificationManager::save_announcement_ids() { return; } - auto notification_announcement_ids_string = implode(transform(ids, [](int32 id) { return to_string(id); }), ','); + auto notification_announcement_ids_string = implode(transform(ids, to_string)); G()->td_db()->get_binlog_pmc()->set("notification_announcement_ids", notification_announcement_ids_string); }