Insert chatroom in DB only if its state is Created

Andrea Gianarda
2023-09-21T05:18:13Z

Allow NULL particiant device joining time. This is required because the
joining time is the time the device state switches to Present, therefore
it is NULL when the device is added to the chatroom or conference