mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Use user phrases for support accounts.
This commit is contained in:
@@ -275,10 +275,10 @@ void Filler::addToggleUnreadMark() {
|
||||
void Filler::addBlockUser(not_null<UserData*> user) {
|
||||
auto blockText = [](not_null<UserData*> user) {
|
||||
return lang(user->isBlocked()
|
||||
? (user->botInfo
|
||||
? ((user->isBot() && !user->isSupport())
|
||||
? lng_profile_restart_bot
|
||||
: lng_profile_unblock_user)
|
||||
: (user->botInfo
|
||||
: ((user->isBot() && !user->isSupport())
|
||||
? lng_profile_block_bot
|
||||
: lng_profile_block_user));
|
||||
};
|
||||
|
Reference in New Issue
Block a user