2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Always add 'Saved messages' to index.

This commit is contained in:
John Preston
2018-12-05 14:41:54 +04:00
parent efe3dfad5c
commit 2d1971123a

View File

@@ -385,7 +385,12 @@ void PeerData::fillNames() {
}
appendToIndex(user->username);
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()) {
appendToIndex(channel->username);