Skip to content

Commit

Permalink
[fix] Don't show "pad deleted" message when copying pad
Browse files Browse the repository at this point in the history
  • Loading branch information
lpagliari committed Feb 5, 2018
1 parent 0c9475e commit f11c197
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/node/db/Pad.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,9 +464,10 @@ Pad.prototype.copy = function copy(destinationID, force, callback) {
}
else force = true;

//kick everyone from this pad
// TODO: this presents a message on the client saying that the pad was 'deleted'. Fix this?
padMessageHandler.kickSessionsFromPad(sourceID);
// Kick everyone from this pad.
// This was commented due to https://github.com/ether/etherpad-lite/issues/3183.
// Do we really need to kick everyone out?
// padMessageHandler.kickSessionsFromPad(sourceID);

// flush the source pad:
_this.saveToDatabase();
Expand Down

0 comments on commit f11c197

Please sign in to comment.