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

share support added

This commit is contained in:
John Preston
2015-10-18 14:49:34 +02:00
parent 90776073e7
commit 9327473ee8
8 changed files with 107 additions and 24 deletions

View File

@@ -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();
}
}