From a1c61daea64c414ef75b066f77337264f1781d5b Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 21 Nov 2018 10:51:49 +0400 Subject: [PATCH] Add contact opens chat in support mode. --- Telegram/SourceFiles/boxes/add_contact_box.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/add_contact_box.cpp b/Telegram/SourceFiles/boxes/add_contact_box.cpp index f991b2035f..41140d0377 100644 --- a/Telegram/SourceFiles/boxes/add_contact_box.cpp +++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp @@ -275,7 +275,8 @@ void AddContactBox::onImportDone(const MTPcontacts_ImportedContacts &res) { return nullptr; }(); if (user) { - if (user->contactStatus() == UserData::ContactStatus::Contact) { + if (user->contactStatus() == UserData::ContactStatus::Contact + || Auth().supportMode()) { Ui::showPeerHistory(user, ShowAtTheEndMsgId); } Ui::hideLayer();