Skip to content

Commit

Permalink
Fix is_cashtag.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Jun 4, 2024
1 parent f013f47 commit cc02215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/MessagesManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()) {
Expand Down

0 comments on commit cc02215

Please sign in to comment.