This project is archived. Its data is read-only.

No unread badge for days-old message in rarely used one to one room

I just entered a private channel that hasn't been used for weeks, to discover a message from yesterday that didn't trigger the unread badge/icon next to the channel name. It happened in the past with an older message - 3-4 days - also in a private channel with another Gitter user.

I'm on Linux, using Firefox 68.0.1. If you have some kind of power law for increasing polling intervals, you need a reasonable upper limit of a few minutes.

  • notification icon

Relevant code

  • https://gitlab.com/gitlab-org/gitter/webapp/blob/21cc1d15f0cb6e4f679882e765f3777be27b0f03/public/js/vue/store/data-bridge.js#L17-20

  • https://gitlab.com/gitlab-org/gitter/realtime-client/blob/e0e212b498b78144f53e14c75a85ca6b8d055e65/lib/realtime-client.js

  • https://gitlab.com/gitlab-org/gitter/webapp/blob/21cc1d15f0cb6e4f679882e765f3777be27b0f03/public/js/components/unread-items-client.js
  • https://gitlab.com/gitlab-org/gitter/webapp/blob/21cc1d15f0cb6e4f679882e765f3777be27b0f03/public/js/router-app.js#L312-334
Edited Aug 23, 2019 by Eric Eastwood
Assignee Loading
Time tracking Loading