techwithtim/Python-Live-Chat-App

Flask server doesn't track single messages date

carbonedavidee opened this issue · 1 comments

In main.py rooms[room]["messages"] doesn't track every message publish date, so when the client fetch the messages from the flask server(for example refreshing the page) all old messages have the date of the execution of the last script.