Fix is_cashtag.

This commit is contained in:
levlam 2024-06-04 13:14:21 +03:00
parent f013f47e7b
commit cc02215c5f

View File

@ -20644,7 +20644,7 @@ void MessagesManager::search_hashtag_posts(string hashtag, string offset_str, in
bool is_cashtag = false;
if (hashtag[0] == '#' || hashtag[0] == '$') {
is_cashtag = true;
is_cashtag = (hashtag[0] == '$');
hashtag = hashtag.substr(1);
}
if (hashtag.empty()) {