From 336163d28489cacf077afd5948a354251f7c85b2 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..7d3c6a975 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("Nullgram")) - value = value.replace("Nullgram", "Nnngram"); if (value.contains("NullgramClient")) value = value.replace("NullgramClient", "nagram_client"); + if (value.contains("Nullgram")) + value = value.replace("Nullgram", "Nnngram"); return value; }