From 690f8a86a827ca56da49f87002df22d758ccda9e Mon Sep 17 00:00:00 2001 From: Tobias Hintze Date: Wed, 31 Oct 2012 19:05:48 +0100 Subject: [PATCH] SessionImplementation: remove obsolete addEditingAvatar (now a Op) --- webodf/lib/ops/SessionImplementation.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/webodf/lib/ops/SessionImplementation.js b/webodf/lib/ops/SessionImplementation.js index 3ac03c31..8ed32968 100644 --- a/webodf/lib/ops/SessionImplementation.js +++ b/webodf/lib/ops/SessionImplementation.js @@ -256,16 +256,6 @@ ops.SessionImplementation = function SessionImplementation(odfcontainer) { op.execute(rootNode); }; - // this is an operation. the user decided that - // he wants to take part in the editing session, - // and wants to change its state from observer to - // editor. the operation will insert an avatar in - // the document, which is also broadcasted to the - // other session members. - this.addEditingAvatar = function () { - self.addMemberToSession(localMemberid); - }; - // TODO: this needs to move to the upcoming view class this.setGuiAvatarFactory = function(factory) { guiAvatarFactory = factory;