add route room delete
This commit is contained in:
@@ -23,6 +23,7 @@ export default class Room {
|
||||
return this;
|
||||
}
|
||||
|
||||
// check if the room have threads or messages
|
||||
async shouldDelete(): Promise<boolean> {
|
||||
if (!this._roomId) {
|
||||
throw "shouldDelete needs to have a roomId set.";
|
||||
|
||||
Reference in New Issue
Block a user