2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Send GIFs search results without "via @bot".

This commit is contained in:
John Preston
2022-03-07 11:08:52 +04:00
parent eb72b1a925
commit 173fdf8056
3 changed files with 6 additions and 1 deletions

View File

@@ -486,6 +486,7 @@ void GifsListWidget::selectInlineResult(
}
} else if (const auto inlineResult = item->getResult()) {
if (inlineResult->onChoose(item)) {
options.hideViaBot = true;
_inlineResultChosen.fire({
.result = inlineResult,
.bot = _searchBot,