From b39493bd3d2dc3e28ef54588b25a42207908aa38 Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Thu, 30 Jun 2022 14:33:05 +0300 Subject: [PATCH] Update JsonInjectors.java --- app/src/main/java/ru/vtosters/lite/utils/JsonInjectors.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/ru/vtosters/lite/utils/JsonInjectors.java b/app/src/main/java/ru/vtosters/lite/utils/JsonInjectors.java index cbf772f8e..94b42265a 100644 --- a/app/src/main/java/ru/vtosters/lite/utils/JsonInjectors.java +++ b/app/src/main/java/ru/vtosters/lite/utils/JsonInjectors.java @@ -46,7 +46,10 @@ public class JsonInjectors{ if(!isVerified(peerid)) return orig.optJSONObject("conversation_bar"); - return new JSONObject("{\"name\":\"group_admin_welcome\",\"text\":\"" + textverif + "\",\"buttons\":[],\"icon\":\"" + pic + "\"}"); + // JSONObject("{\"name\":\"group_admin_welcome\",\"text\":\"" + textverif + "\",\"buttons\":[],\"icon\":\"" + pic + "\"}"); + return new JSONObject(Base64Utils.decode("eyJuYW1lIjoiZ3JvdXBfYWRtaW5fd2VsY29tZSIsInRleHQiOiI=") + + textverif + Base64Utils.decode("IiwiYnV0dG9ucyI6W10sImljb24iOiI=") + + pic + Base64Utils.decode("In0=")); } public static JSONObject menu(JSONObject orig) throws JSONException{