RealTime Action (Server)

This commit is contained in:
2025-07-04 17:36:56 +03:30
parent a62b65b41c
commit da4d1a39da
7 changed files with 369 additions and 22 deletions
@@ -34,6 +34,15 @@ public class ContactDatabase {
}
}
public static List<UUID> getContactUUIDs(UUID userId) {
List<Contact> contacts = getContacts(userId);
List<UUID> contactIds = new ArrayList<>();
for (Contact c : contacts) {
contactIds.add(c.getContact_id());
}
return contactIds;
}
public boolean removeContact(UUID user_id, UUID contact_id) {