From f3f8c14be43e729cb9c7b3d9c3991b68595c53ca Mon Sep 17 00:00:00 2001 From: Luiza Pagliari Date: Fri, 5 May 2017 18:15:23 -0300 Subject: [PATCH] [fix] Do not show a 'pad deleted' message when pad is copied Message should be shown when pad is deleted or moved, not when it is copied. Fix #3183 --- src/node/db/Pad.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/node/db/Pad.js b/src/node/db/Pad.js index 5d26f470cbf..4ccf54dedba 100644 --- a/src/node/db/Pad.js +++ b/src/node/db/Pad.js @@ -464,10 +464,6 @@ 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); - // flush the source pad: _this.saveToDatabase();