mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-03 16:15:13 +00:00
Always add 'Saved messages' to index.
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user