MCPcopy Create free account
hub / github.com/4as/Chat-DeMod / cloneEvent

Function cloneEvent

Chat DeMod.user.js:205–213  ·  view source on GitHub ↗
(event, new_data)

Source from the content-addressed store, hash-verified

203 }
204
205 function cloneEvent(event, new_data) {
206 return new MessageEvent('message', {
207 data: new_data,
208 origin: event.origin,
209 lastEventId: event.lastEventId,
210 source: event.source,
211 ports: event.ports
212 });
213 }
214
215 function redirectConversations(url, conversation_id) {
216 var idx = url.indexOf("/textdocs");

Callers 1

getEventMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected