mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-10-15 14:26:04 +00:00
Move some calls from App namespace.
This commit is contained in:
@@ -95,7 +95,7 @@ void IndexedList::peerNameChanged(
|
||||
const base::flat_set<QChar> &oldLetters) {
|
||||
Expects(_sortMode != SortMode::Date);
|
||||
|
||||
if (const auto history = App::historyLoaded(peer)) {
|
||||
if (const auto history = peer->owner().historyLoaded(peer)) {
|
||||
if (_sortMode == SortMode::Name) {
|
||||
adjustByName(history, oldLetters);
|
||||
} else {
|
||||
@@ -110,7 +110,7 @@ void IndexedList::peerNameChanged(
|
||||
const base::flat_set<QChar> &oldLetters) {
|
||||
Expects(_sortMode == SortMode::Date);
|
||||
|
||||
if (const auto history = App::historyLoaded(peer)) {
|
||||
if (const auto history = peer->owner().historyLoaded(peer)) {
|
||||
adjustNames(list, history, oldLetters);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user