Delete dead SERVER_MESSAGE and guest handling code

None of this code seems to be reachable. Hopefully no plugins expect
it to exist.
This commit is contained in:
Richard Hansen 2020-12-18 02:31:08 -05:00 committed by John McLear
parent 794dfb1863
commit 7e50fc2ab5
7 changed files with 11 additions and 242 deletions

View file

@ -1013,9 +1013,7 @@ async function handleClientReady(socket, message, authorID) {
},
automaticReconnectionTimeout: settings.automaticReconnectionTimeout,
initialRevisionList: [],
initialOptions: {
guestPolicy: 'deny',
},
initialOptions: {},
savedRevisions: pad.getSavedRevisions(),
collab_client_vars: {
initialAttributedText: atext,
@ -1028,7 +1026,6 @@ async function handleClientReady(socket, message, authorID) {
},
colorPalette: authorManager.getColorPalette(),
clientIp: '127.0.0.1',
userIsGuest: true,
userColor: authorColorId,
padId: message.padId,
padOptions: settings.padOptions,