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

Method update

Chat DeMod.user.js:335–341  ·  view source on GitHub ↗
(chunk_data)

Source from the content-addressed store, hash-verified

333 }
334
335 update(chunk_data) {
336 if (ChatPayload.isPatch(chunk_data)) {
337 this.data = chunk_data;
338 if (this.message !== null)
339 this.setMessage(this.message);
340 }
341 }
342
343 setText(text) {
344 var v = this.data.v;

Callers

nothing calls this directly

Calls 2

setMessageMethod · 0.95
isPatchMethod · 0.80

Tested by

no test coverage detected