Update for lib_ui API change

This commit is contained in:
K900 2024-10-11 14:16:45 +03:00 committed by John Preston
parent 566f279137
commit f2e0e481de

View file

@ -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()) {