From 8c6f3d66b5f09f78b3dbad04a6742f66697c9cd5 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 7 May 2025 16:44:41 +0400 Subject: [PATCH] Don't mask gift numbers in service notifications. --- Telegram/SourceFiles/history/history_item.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/history/history_item.cpp b/Telegram/SourceFiles/history/history_item.cpp index e5f4e6501f..7f22efb0b4 100644 --- a/Telegram/SourceFiles/history/history_item.cpp +++ b/Telegram/SourceFiles/history/history_item.cpp @@ -96,7 +96,7 @@ template } [[nodiscard]] TextWithEntities SpoilerLoginCode(TextWithEntities text) { - const auto r = QRegularExpression(u"([\\d\\-]{4,8})"_q); + const auto r = QRegularExpression(u"(?