Fix purge room
This commit is contained in:
parent
c46d3a698f
commit
a18dd1381c
2 changed files with 9 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue