mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
Fix: Let's default to Synapse's default message when deleting a room without a message
This commit is contained in:
parent
b60f503e2e
commit
dd6c06eae5
@ -655,7 +655,7 @@ export class Mjolnir {
|
||||
return await this.client.doRequest("DELETE", endpoint, null, {
|
||||
new_room_user_id: await this.client.getUserId(),
|
||||
block: true,
|
||||
message: message || "This room was shutdown by a moderator"
|
||||
message: message /* If `undefined`, we'll use Synapse's default message. */
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user