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

Function isPadCreator

src/node/handler/PadMessageHandler.ts:341–341  ·  view source on GitHub ↗
(pad: any, authorId: string)

Source from the content-addressed store, hash-verified

339};
340
341const isPadCreator = async (pad: any, authorId: string) => authorId === await pad.getRevisionAuthor(0);
342
343const handlePadOptionsMessage = async (
344 socket: any, message: PadOptionsMessage & {data: {payload: PadOptionsMessage}}) => {

Callers 2

handlePadOptionsMessageFunction · 0.85
handleClientReadyFunction · 0.85

Calls 1

getRevisionAuthorMethod · 0.80

Tested by

no test coverage detected