mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Add archived results in chats search.
This commit is contained in:
@@ -983,7 +983,7 @@ void Session::setupUserIsContactViewer() {
|
||||
if (user->contactStatus() == UserData::ContactStatus::Contact) {
|
||||
const auto history = user->owner().history(user->id);
|
||||
_contactsList.addByName(history);
|
||||
if (!_chatsList.indexed()->contains(history)) {
|
||||
if (!history->inChatList()) {
|
||||
_contactsNoChatsList.addByName(history);
|
||||
}
|
||||
} else if (const auto history = user->owner().historyLoaded(user)) {
|
||||
|
Reference in New Issue
Block a user