|
|
|
@ -65,10 +65,10 @@ socket.on('msgmgr:event', async (eventType, eventData) => {
|
|
|
|
|
switch (eventType) {
|
|
|
|
|
case 'status': {
|
|
|
|
|
const [msgId, uuid, status] = eventData
|
|
|
|
|
ingressMap[ msgId ][2].push(`${ uuid } is ${ status }`)
|
|
|
|
|
if (!!ingressMap[msgId]) ingressMap[ msgId ][2].push(`${ uuid } is ${ status }`)
|
|
|
|
|
} break;
|
|
|
|
|
case 'read':
|
|
|
|
|
ingressMap[ eventData ][2].push('read')
|
|
|
|
|
if (!!ingressMap[ eventData ]) ingressMap[ eventData ][2].push('read')
|
|
|
|
|
break;
|
|
|
|
|
case 'response': {
|
|
|
|
|
const [msgId, response] = eventData
|
|
|
|
|