mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
share support added
This commit is contained in:
@@ -2294,7 +2294,7 @@ void DialogsWidget::onCancelSearchInPeer() {
|
||||
_searchRequest = 0;
|
||||
}
|
||||
if (_searchInPeer) {
|
||||
if (!cWideMode()) {
|
||||
if (!cWideMode() && !App::main()->selectingPeer()) {
|
||||
App::main()->showPeerHistory(_searchInPeer->id, ShowAtUnreadMsgId);
|
||||
}
|
||||
_searchInPeer = 0;
|
||||
@@ -2304,7 +2304,7 @@ void DialogsWidget::onCancelSearchInPeer() {
|
||||
_filter.clear();
|
||||
_filter.updatePlaceholder();
|
||||
onFilterUpdate();
|
||||
if (cWideMode()) {
|
||||
if (cWideMode() && !App::main()->selectingPeer()) {
|
||||
emit cancelled();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user