MCPcopy Create free account
hub / github.com/Maccoder3/MAC-MD / emitGroupUpdate

Function emitGroupUpdate

lib/simple.js:1027–1029  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1025 )
1026 if (!chat || chat === 'status@broadcast') return
1027 const emitGroupUpdate = update => {
1028 ev.emit('groups.update', [{ id: chat, ...update }])
1029 }
1030 switch (m.messageStubType) {
1031 case WAMessageStubType.REVOKE:
1032 case WAMessageStubType.GROUP_CHANGE_INVITE_LINK:

Callers 1

valueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected