Create groups an channels
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user