########################################################################################## LOC-7: Ability to close a room ########################################################################################## Issue Type: New Feature ----------------------------------------------------------------------------------------- Issue Information ==================== Priority: Major Status: Closed Resolution: Done (2018-05-12 16:44:07) Project: LocalChat (LOC) Reported By: btasker Assigned To: btasker Components: - Client - Server Targeted for fix in version: - V0.0.2 Time Estimate: 0 minutes Time Logged: 0 minutes ----------------------------------------------------------------------------------------- Issue Description ================== Currently there's no way to close a room (other than restarting the server). So that functionality needs to be added in. When a closure request is received (from the room owner *only*) the following should happen - All users should be disinvited (we can probably use the ban functionality for that) - All messages for that room should be purged - The room should be removed from the rooms table The client will obviously need updating to support that too. I'd suggest /room close [roompass]. The pass being purely to reduce the likelihood of accidentally triggering it. ----------------------------------------------------------------------------------------- Activity ========== ----------------------------------------------------------------------------------------- 2018-05-12 16:44:07 ----------------------------------------------------------------------------------------- btasker changed status from 'Open' to 'Resolved' ----------------------------------------------------------------------------------------- 2018-05-12 16:44:07 ----------------------------------------------------------------------------------------- btasker added 'Done' to resolution ----------------------------------------------------------------------------------------- 2018-05-12 16:44:11 ----------------------------------------------------------------------------------------- btasker changed status from 'Resolved' to 'Closed' ----------------------------------------------------------------------------------------- 2018-05-12 16:44:13 git ----------------------------------------------------------------------------------------- -- BEGIN QUOTE -- Repo: LocalChat Host:Rimmer commit 25001735c0acb47923437980ef9d1aa9267a63d0 Author: B Tasker