mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-04 11:00:46 +00:00
Support hashtags with mentions.
This commit is contained in:
@@ -580,6 +580,8 @@ void SessionNavigation::showPeerByLinkResolved(
|
||||
params);
|
||||
} else if (resolveType == ResolveType::Profile) {
|
||||
showPeerInfo(peer, params);
|
||||
} else if (resolveType == ResolveType::HashtagSearch) {
|
||||
searchMessages(info.text, peer->owner().history(peer));
|
||||
} else if (peer->isForum() && resolveType != ResolveType::Boost) {
|
||||
const auto itemId = info.messageId;
|
||||
if (!itemId) {
|
||||
|
||||
@@ -19,6 +19,7 @@ enum class ResolveType {
|
||||
BotStart,
|
||||
AddToGroup,
|
||||
AddToChannel,
|
||||
HashtagSearch,
|
||||
ShareGame,
|
||||
Mention,
|
||||
Boost,
|
||||
|
||||
Reference in New Issue
Block a user