mirror of https://github.com/procxx/kepka.git
Always add 'Saved messages' to index.
This commit is contained in:
parent
efe3dfad5c
commit
2d1971123a
|
@ -385,7 +385,12 @@ void PeerData::fillNames() {
|
||||||
}
|
}
|
||||||
appendToIndex(user->username);
|
appendToIndex(user->username);
|
||||||
if (isSelf()) {
|
if (isSelf()) {
|
||||||
appendToIndex(lang(lng_saved_messages));
|
const auto english = qsl("Saved messages");
|
||||||
|
const auto localized = lang(lng_saved_messages);
|
||||||
|
appendToIndex(english);
|
||||||
|
if (localized != english) {
|
||||||
|
appendToIndex(localized);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} else if (const auto channel = asChannel()) {
|
} else if (const auto channel = asChannel()) {
|
||||||
appendToIndex(channel->username);
|
appendToIndex(channel->username);
|
||||||
|
|
Loading…
Reference in New Issue