Support hashtags with mentions.
This commit is contained in:
@@ -2722,7 +2722,9 @@ std::optional<RecentHashtagPack> Account::saveRecentHashtags(
|
||||
auto found = false;
|
||||
auto m = QRegularExpressionMatch();
|
||||
auto recent = getPack();
|
||||
for (auto i = 0, next = 0; (m = TextUtilities::RegExpHashtag(false).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()) {
|
||||
|
||||
Reference in New Issue
Block a user