MCPcopy Index your code
hub / github.com/ether/etherpad / setPadSettings

Method setPadSettings

src/node/db/Pad.ts:262–272  ·  view source on GitHub ↗
(rawPadSettings: any)

Source from the content-addressed store, hash-verified

260 }
261
262 setPadSettings(rawPadSettings: any) {
263 const nextPadSettings = {
264 ...this.getPadSettings(),
265 ...rawPadSettings,
266 view: {
267 ...this.getPadSettings().view,
268 ...(rawPadSettings?.view ?? {}),
269 },
270 };
271 this.padSettings = Pad.normalizePadSettings(nextPadSettings);
272 }
273
274 /**
275 * Appends a new revision

Callers 2

handlePadOptionsMessageFunction · 0.80
handleClientReadyFunction · 0.80

Calls 2

getPadSettingsMethod · 0.95
normalizePadSettingsMethod · 0.80

Tested by

no test coverage detected