Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New/unread message indicator sometimes missing #1565

Closed
kingalg opened this issue Jun 7, 2023 · 7 comments
Closed

New/unread message indicator sometimes missing #1565

kingalg opened this issue Jun 7, 2023 · 7 comments
Assignees
Labels
bug Something isn't working desktop react-native

Comments

@kingalg
Copy link
Collaborator

kingalg commented Jun 7, 2023

1.3.1 - android and iOS (I saw it in earlier versions as well, so this is not the one that introduced this issue).

Sometimes when the user is on channel list view and new message appear on general channel "new" icon is missing. User gets the message, channel is moved to the top, notification is received as it's suppose to be nut "new" is missing.

It can happen on both systems and so far I didn't catch a straight way to reproduce it. Below you can see one example of when it happened:

  1. iOS - installed 30 minutes earlier, several channels (including general) removed, Android - freshly installed, no channels removed yet.
  2. Both in channel list view.
  3. General channel removed (correctly)
  4. iOS - there is “new” icon, Android - “new” icon missing

Missing icon mostly happens for system messages (like new user or deleted channel) but I also saw it for regular message on general channel.

@kingalg kingalg added bug Something isn't working react-native labels Jun 7, 2023
@holmesworcester
Copy link
Contributor

I don't think this should block release since it's likely an existing issue.

@kingalg
Copy link
Collaborator Author

kingalg commented Jun 7, 2023

@holmesworcester I agree, I've added it to the backlog, we should have a look at this one day but it's definitely not a blocker.

@holmesworcester
Copy link
Contributor

Update: this is happening to me on desktop too. Steps to reproduce:

  1. Go to general channel on desktop Quiet 1.4.0
  2. Send message from mobile Quiet 1.3.1 to channel "test"

Expected: notification arrives and highlight appears on channel name showing new message, and message is visible when I click on channel.

Actual: notification arrives, but no white highlight appears indicating new messages in that channel. Message is visible when I click on channel though.

Not creating a separate issue because I assume it's the same issue or related.

@holmesworcester holmesworcester changed the title "new" icon sometimes missing on general New/unread message indicator sometimes missing Jul 13, 2023
@Kacper-RF Kacper-RF self-assigned this Jul 18, 2023
@Kacper-RF
Copy link
Contributor

#1653

@kingalg
Copy link
Collaborator Author

kingalg commented Sep 5, 2023

@Kacper-RF can you add some short explanation with why we had this issue and in what way your fix resolves the problem? I didn't encounter this issue on desktop, as Holmes did, so I want to be sure that I understand what was happening to test it and try to "break" it in the future.

I'm currently in a version: 2.0.0-alpha.3 and from my perspective everything looks fine on all desktop and mobile systems.

@Kacper-RF
Copy link
Contributor

Probably problem was in Redux state, that user somehow had undefined property in joinTimestamp filed which was required to mark message as new.

Now it is secured and even if the user has undefined, this field is validated and in this case the current timestamp is saved

@kingalg
Copy link
Collaborator Author

kingalg commented Oct 19, 2023

Version: 2.0.1-alpha.7

I didn't observe this issue for a long time so I consider this fix to be working.

@kingalg kingalg closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop react-native
Projects
Archived in project
Development

No branches or pull requests

3 participants