SessionImplementation: remove obsolete addEditingAvatar (now a Op)

This commit is contained in:
Tobias Hintze
2012-11-09 11:40:39 +01:00
parent e28dfe91b8
commit 690f8a86a8
-10
View File
@@ -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;