mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Don't mask gift numbers in service notifications.
This commit is contained in:
parent
a49cb06d77
commit
8c6f3d66b5
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ template <typename T>
|
|||
}
|
||||
|
||||
[[nodiscard]] TextWithEntities SpoilerLoginCode(TextWithEntities text) {
|
||||
const auto r = QRegularExpression(u"([\\d\\-]{4,8})"_q);
|
||||
const auto r = QRegularExpression(u"(?<!#)([\\d\\-]{4,8})"_q);
|
||||
const auto m = r.match(text.text);
|
||||
if (!m.hasMatch()) {
|
||||
return text;
|
||||
|
|
Loading…
Add table
Reference in a new issue