Fix purge room

This commit is contained in:
N-Pex 2023-10-10 10:46:17 +02:00
parent c46d3a698f
commit a18dd1381c
2 changed files with 9 additions and 4 deletions

View file

@ -840,11 +840,11 @@ export default {
return kickFirstMember(allMembers);
})
.then(() => {
return this.matrixClient.sendStateEvent(
return withRetry(() => this.matrixClient.sendStateEvent(
roomId,
STATE_EVENT_ROOM_DELETED,
{ status: "deleted" }
);
));
})
.then(() => {
statusCallback(null);