mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-17 22:57:11 +02:00
Update for lib_ui API change
This commit is contained in:
parent
566f279137
commit
f2e0e481de
1 changed files with 1 additions and 1 deletions
|
@ -2709,7 +2709,7 @@ std::optional<RecentHashtagPack> Account::saveRecentHashtags(
|
|||
auto found = false;
|
||||
auto m = QRegularExpressionMatch();
|
||||
auto recent = getPack();
|
||||
for (auto i = 0, next = 0; (m = TextUtilities::RegExpHashtag().match(text, i)).hasMatch(); i = next) {
|
||||
for (auto i = 0, next = 0; (m = TextUtilities::RegExpHashtag(false).match(text, i)).hasMatch(); i = next) {
|
||||
i = m.capturedStart();
|
||||
next = m.capturedEnd();
|
||||
if (m.hasMatch()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue