From c785ae579c57d20038724d480ba1f51d5f8086ef Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 14 May 2024 21:09:58 +0300 Subject: [PATCH] Fix TtlNode operator==. --- td/telegram/MessagesManager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.h b/td/telegram/MessagesManager.h index a5e46820f..f7ca9cec5 100644 --- a/td/telegram/MessagesManager.h +++ b/td/telegram/MessagesManager.h @@ -3177,7 +3177,7 @@ class MessagesManager final : public Actor { } bool operator==(const TtlNode &other) const { - return message_full_id_ == other.message_full_id_; + return message_full_id_ == other.message_full_id_ && by_ttl_period_ == other.by_ttl_period_; } }; struct TtlNodeHash {