Create groups an channels

This commit is contained in:
2025-06-12 12:25:28 +03:30
parent fb19b55593
commit 2b972c4b7c
8 changed files with 547 additions and 23 deletions
@@ -10,4 +10,12 @@ import java.util.List;
public class Session {
public static JSONObject currentUser;
public static List<ChatEntry> chatList;
public static String getUserUUID() {
if (currentUser.has("uuid")) return currentUser.getString("uuid");
if (currentUser.has("internal_uuid")) return currentUser.getString("internal_uuid");
if (currentUser.has("internalUUID")) return currentUser.getString("internalUUID");
throw new RuntimeException("❌ No UUID found in currentUser!");
}
}