mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-05 14:47:39 +00:00
Fix crash in redundant checkStartUrl call.
This commit is contained in:
parent
2ef47222f4
commit
10ced19841
@ -298,15 +298,12 @@ bool ResolveUsername(
|
||||
post = ShowAtGameShareMsgId;
|
||||
}
|
||||
const auto clickFromMessageId = context.value<FullMsgId>();
|
||||
if (const auto controller = App::wnd()->sessionController()) {
|
||||
controller->content()->openPeerByName(
|
||||
domain,
|
||||
post,
|
||||
startToken,
|
||||
clickFromMessageId);
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
controller->content()->openPeerByName(
|
||||
domain,
|
||||
post,
|
||||
startToken,
|
||||
clickFromMessageId);
|
||||
return true;
|
||||
}
|
||||
|
||||
bool ResolvePrivatePost(
|
||||
|
@ -370,8 +370,6 @@ MainWidget::MainWidget(
|
||||
cSetOtherOnline(0);
|
||||
|
||||
_history->start();
|
||||
|
||||
Core::App().checkStartUrl();
|
||||
}
|
||||
|
||||
MainWidget::~MainWidget() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user