This should fix issues #36 and #37. The switch statement in /routes/endpoints/slash/welcome/welcome.js was missing break; after each condition. This was causing fall-through to the case below. In addition, changed the switch condition to better reflect the data being sent in, so that the first case (two messages) only triggers if there are two unique target_Ids or channels.
This should fix issues #36 and #37. The switch statement in /routes/endpoints/slash/welcome/welcome.js was missing break; after each condition. This was causing fall-through to the case below. In addition, changed the switch condition to better reflect the data being sent in, so that the first case (two messages) only triggers if there are two unique target_Ids or channels.