mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Add contact opens chat in support mode.
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user