Flow:
Message a brand new person for the first time from the Dashboard chat icon.
Message sent confirmation should be seen
Go to the Messages Page from the menu
The person that was just messages is not seen in the queue unless the page is refreshed
Tried implementing the following but kept getting errors:
for (i = 0; i < vm.privateMessages.lenght; i++)
{
if (email != vm.privateMessages[i].email)
vm.privateMessages.unshift(newConvo)
}
Flow: Message a brand new person for the first time from the Dashboard chat icon. Message sent confirmation should be seen Go to the Messages Page from the menu The person that was just messages is not seen in the queue unless the page is refreshed
Tried implementing the following but kept getting errors:
for (i = 0; i < vm.privateMessages.lenght; i++) { if (email != vm.privateMessages[i].email)
vm.privateMessages.unshift(newConvo) }