mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-27 09:03:02 +00:00
Add contact opens chat in support mode.
This commit is contained in:
parent
90c1c21646
commit
a1c61daea6
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user