added editing user profile.

This commit is contained in:
Asal Lotfi
2025-07-29 13:35:00 +03:30
parent 5825373f2c
commit 2fb957d941
7 changed files with 290 additions and 25 deletions
@@ -22,12 +22,14 @@ public class User {
private List<Message> unreadMessages;
private List<ChatEntry> chatList;
public User(String user_id, UUID internal_uuid, String username, String password, String profile_name) {
public User(String user_id, UUID internal_uuid, String username, String password, String profile_name, String bio, String image_url) {
this.user_id = user_id;
this.internal_uuid = internal_uuid;
this.username = username;
this.password = password;
this.profile_name = profile_name;
this.bio = bio;
this.image_url = image_url;
}
public void setUser_id(String user_id) {