work on real time for message actions

This commit is contained in:
2025-08-08 12:04:28 +03:30
parent e2e4bab029
commit a900c66eac
8 changed files with 264 additions and 29 deletions
@@ -275,4 +275,12 @@ public class PrivateChatDatabase {
return null;
}
public static UUID getOtherParticipant(UUID chatId, UUID me) {
List<UUID> members = getMembers(chatId);
for (UUID u : members) {
if (!u.equals(me)) return u;
}
return null;
}
}