MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / handleStatus

Function handleStatus

lib/messageHandler.js:558–568  ·  view source on GitHub ↗
(sock, status)

Source from the content-addressed store, hash-verified

556 }
557}
558async function handleStatus(sock, status) {
559 try {
560 const { default: _autostatus } = await import('../plugins/autostatus.js');
561 const handleStatusUpdate = _autostatus.handleStatusUpdate;
562 await handleStatusUpdate(sock, status);
563 }
564 catch (error) {
565 printLog('error', `Status handler error: ${error.message}`);
566 console.error(error.stack);
567 }
568}
569async function handleCall(sock, calls) {
570 try {
571 const anticallPlugin = (await import('../plugins/anticall.js')).default;

Callers 1

startQasimDevFunction · 0.90

Calls 2

printLogFunction · 0.90
handleStatusUpdateFunction · 0.85

Tested by

no test coverage detected