remove logging in prosemirror binding

This commit is contained in:
Kevin Jahns
2018-11-09 01:23:16 +01:00
parent aafe15757f
commit 28fb7b6e9c
3 changed files with 7 additions and 9 deletions

View File

@@ -86,7 +86,7 @@ class WebsocketsSharedDocument extends Y.Y {
if (field !== null) {
this._localAwarenessState[field] = value
}
if (this.ws !== null) {
if (this.wsconnected) {
const encoder = Y.createEncoder()
Y.writeVarUint(encoder, messageAwareness)
Y.writeUsersStateChange(encoder, [{ userID: this.userID, state: this._localAwarenessState }])