Fixed save message

This commit is contained in:
2025-08-11 20:52:39 +03:30
parent fb43adff7a
commit 42d98c53d8
6 changed files with 818 additions and 335 deletions
@@ -27,6 +27,14 @@ public class PrivateChat {
this.created_at = createdAt;
}
public PrivateChat(UUID chatId, UUID user1, UUID user2, boolean user1Deleted, boolean user2Deleted) {
this.chat_id = chatId;
this.user1_id = user1;
this.user2_id = user2;
this.user1_deleted = user1Deleted;
this.user2_deleted = user2Deleted;
}
public void setUser1_id(UUID user1_id){this.user1_id =user1_id;}
public void setUser2_id(UUID user2_id){this.user2_id =user2_id;}