I have created a chat system where, for sending a message, I previosly check that the sender and receiver is in the room, using a query. In a first instance, I thought to us