2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-02 07:25:46 +00:00

Open video from ?t= links.

This commit is contained in:
John Preston
2025-01-28 11:49:45 +04:00
parent 1e77a3df20
commit 2077f51084
14 changed files with 86 additions and 74 deletions

View File

@@ -1449,11 +1449,7 @@ void MainWidget::showHistory(
&& way != Way::Forward) {
ClearBotStartToken(_history->peer());
}
_history->showHistory(
peerId,
showAtMsgId,
params.highlightPart,
params.highlightPartOffsetHint);
_history->showHistory(peerId, showAtMsgId, params);
if (alreadyThatPeer && params.reapplyLocalDraft) {
_history->applyDraft(HistoryWidget::FieldHistoryAction::NewEntry);
}