Fix archive not showing messages in the current day
Fix archive not showing messages in the current day
Fix https://gitlab.com/gitlab-org/gitter/webapp/issues/2349
These null assignments were first introduced in https://gitlab.com/gitlab-org/gitter/webapp/commit/9fc903c14c634e5bdbbb095e6201eacc20237ae9#b574b7d00a72580a5c72c2c3d4eaee2232cdb52c_68_70. I'm not sure why the current day of the archive stopped showing current messages if this commit is so old. Only related change there is the UTC archive date change, https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1608
Testing strategy
- Visit a room's archive with messages from yesterday and today
- Ex.
- http://localhost:5000/duxxy/Lobby/archives/2019/12/03 (notice next and previous day controls)
- http://localhost:5000/duxxy/Lobby/archives/2019/12/04 (notice only previous day controls)
- Ensure the correct messages are on each day
Edited by Eric Eastwood