Skip to content

Commit

Permalink
Close invitations after 30 seconds. Closes #1177 (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb authored Jan 22, 2021
1 parent d4ea358 commit f3f3f8d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/room.js
Original file line number Diff line number Diff line change
Expand Up @@ -784,6 +784,10 @@ RoomMorph.prototype.promptInvite = function (id, role, roomName, inviter) {
localize(msg),
this.ide.world()
);
setTimeout(
() => dialog.destroy(),
30000
);
};

RoomMorph.prototype.respondToInvitation = function (id, role, accepted) {
Expand Down

0 comments on commit f3f3f8d

Please sign in to comment.