From f30865eca45b7e2802fa9ab9e8099a919c118cb1 Mon Sep 17 00:00:00 2001 From: Next Alone <12210746+NextAlone@users.noreply.github.com> Date: Sun, 3 Nov 2024 02:01:16 +0800 Subject: [PATCH] fix: wrong official chat name processing Signed-off-by: Next Alone <12210746+NextAlone@users.noreply.github.com> --- .../main/java/org/telegram/messenger/LocaleController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TMessagesProj/src/main/java/org/telegram/messenger/LocaleController.java b/TMessagesProj/src/main/java/org/telegram/messenger/LocaleController.java index f0d63d512..ab79e97c2 100644 --- a/TMessagesProj/src/main/java/org/telegram/messenger/LocaleController.java +++ b/TMessagesProj/src/main/java/org/telegram/messenger/LocaleController.java @@ -1466,10 +1466,10 @@ private String getStringInternal(String key, String fallback, int fallbackRes, i // value = value.replace("Telegram", "Nnngram"); if (value.contains("TELEOFFICIAL")) value = value.replace("TELEOFFICIAL", "Telegram"); + if (value.contains("NullgramClient")) + value = value.replace("NullgramClient", "nagram_group"); if (value.contains("Nullgram")) value = value.replace("Nullgram", "Nnngram"); - if (value.contains("NullgramClient")) - value = value.replace("NullgramClient", "nagram_client"); return value; }