From a87ebd41e767c6f69ad104d1726b5c9f6389d289 Mon Sep 17 00:00:00 2001
From: John Preston <johnprestonmail@gmail.com>
Date: Mon, 6 Jan 2025 10:18:58 +0400
Subject: [PATCH] Fix reactions for call messages.

---
 Telegram/SourceFiles/history/history_item.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp
index f9d0334c6..9a74ae332 100644
--- a/Telegram/SourceFiles/history/history_item.cpp
+++ b/Telegram/SourceFiles/history/history_item.cpp
@@ -2600,10 +2600,10 @@ bool HistoryItem::canReact() const {
 	if (!isRegular()) {
 		return false;
 	} else if (isService()) {
-		return _flags & MessageFlag::ReactionsAllowed;
+		return (_flags & MessageFlag::ReactionsAllowed);
 	} else if (const auto media = this->media()) {
 		if (media->call()) {
-			return false;
+			return (_flags & MessageFlag::ReactionsAllowed);
 		}
 	}
 	return true;