Merging JSON message building functionality, added a message array in chat.js so it keeps track of user's sent messages. For this reason i think we should keep sent and received messages apart.
For now an alert shows the JSON being sent to the pod when a message is sent.
Merging JSON message building functionality, added a message array in chat.js so it keeps track of user's sent messages. For this reason i think we should keep sent and received messages apart.
For now an alert shows the JSON being sent to the pod when a message is sent.