Insert chatroom in DB only if its state is Created

Open Peio Rigaux requested to merge fix/chatroom_db_insert_crash into release/2.3

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

Merge request reports