mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Add contact opens chat in support mode.
This commit is contained in:
parent
90c1c21646
commit
a1c61daea6
1 changed files with 2 additions and 1 deletions
|
@ -275,7 +275,8 @@ void AddContactBox::onImportDone(const MTPcontacts_ImportedContacts &res) {
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}();
|
}();
|
||||||
if (user) {
|
if (user) {
|
||||||
if (user->contactStatus() == UserData::ContactStatus::Contact) {
|
if (user->contactStatus() == UserData::ContactStatus::Contact
|
||||||
|
|| Auth().supportMode()) {
|
||||||
Ui::showPeerHistory(user, ShowAtTheEndMsgId);
|
Ui::showPeerHistory(user, ShowAtTheEndMsgId);
|
||||||
}
|
}
|
||||||
Ui::hideLayer();
|
Ui::hideLayer();
|
||||||
|
|
Loading…
Add table
Reference in a new issue