{"id":1080,"date":"2020-10-03T11:41:29","date_gmt":"2020-10-03T11:41:29","guid":{"rendered":"https:\/\/html5-chat.com\/blog\/?p=1080"},"modified":"2020-10-05T08:51:51","modified_gmt":"2020-10-05T08:51:51","slug":"dynamic-rooms-management","status":"publish","type":"post","link":"https:\/\/html5-chat.com\/blog\/dynamic-rooms-management\/","title":{"rendered":"Dynamic rooms management (updated)"},"content":{"rendered":"\n<p>We have added 3 new rules for dynamic rooms. Dynamic rooms are real time created rooms by users (you can enable them in your chatadmin roles panel: can create room)<\/p>\n\n\n\n<p>In your chatadmin config\/Chat, you can find now a new select box &#8220;<strong>When a dynamic room is deleted ?<\/strong>&#8221; that has 3 possibles states<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li><strong>creatorLeavesRoom<\/strong><br>The dynamic room is deleted as soon as its creator leaves the room (even if there are people in that room). <br><\/li><li><strong>noMorePeopleInRoom<\/strong><br>This room is deleted when there is no more people in the dynamic room<br><\/li><li><strong>creatorLeavesRoomAndNomMorePeopleInRoom<\/strong><br>This room is deleted when creator leaves the room AND there is no more people in this room.<br><\/li><li><strong>creatorLeavesChatAndNoMorePeopleInRoom<\/strong><br>This room is deleted when creator leaves the chat AND there is no more people in this room.<br><\/li><\/ol>\n\n\n\n<p>Notice that a dynamic room can be deleted directly in the chat.<br>You can define who can delete dynamic room from chatadmin roles: <\/p>\n\n\n\n<p><strong>canDeleteRoom <\/strong>: this role can delete ANY dynamic role (should be reserved to admins or moderators)<\/p>\n\n\n\n<p><strong>candeleteHisRoom <\/strong>: this room can delete only his own room<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have added 3 new rules for dynamic rooms. Dynamic rooms are real time created rooms by users (you can enable them in your chatadmin roles panel: can create room) In your chatadmin config\/Chat, you can find now a new select box &#8220;When a dynamic room is deleted ?&#8221; that has 3 possibles states creatorLeavesRoomThe [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1082,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[15],"class_list":["post-1080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-features","tag-rooms"],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/comments?post=1080"}],"version-history":[{"count":3,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1080\/revisions"}],"predecessor-version":[{"id":1084,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/posts\/1080\/revisions\/1084"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media\/1082"}],"wp:attachment":[{"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/media?parent=1080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/categories?post=1080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/html5-chat.com\/blog\/wp-json\/wp\/v2\/tags?post=1080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}