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

fix old messages marked as seen #2713

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

flexsurfer
Copy link
Member

fix old messages marked as seen

@flexsurfer flexsurfer self-assigned this Jun 10, 2022
@status-github-bot
Copy link

Pull Request Checklist

  • Have you updated the documentation, if impacted (e.g. docs.status.im)?
  • Have you tested changes with mobile?
  • Have you tested changes with desktop?

@status-im-auto
Copy link
Member

status-im-auto commented Jun 10, 2022

Jenkins Builds

Click to see older builds (12)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ e7d6ffb #1 2022-06-10 09:10:34 ~2 min linux 📦zip
✔️ e7d6ffb #1 2022-06-10 09:12:58 ~4 min android 📦aar
✔️ e7d6ffb #1 2022-06-10 09:13:10 ~4 min ios 📦zip
✔️ a0fc884 #2 2022-06-10 09:25:04 ~2 min ios 📦zip
✔️ a0fc884 #2 2022-06-10 09:25:25 ~2 min linux 📦zip
✔️ a0fc884 #2 2022-06-10 09:27:56 ~4 min android 📦aar
✔️ 90a468a #3 2022-06-14 08:06:32 ~2 min ios 📦zip
✔️ 90a468a #3 2022-06-14 08:07:59 ~3 min android 📦aar
✔️ 90a468a #3 2022-06-14 08:08:30 ~4 min linux 📦zip
✔️ aa80b32 #4 2022-06-20 08:42:37 ~1 min linux 📦zip
✔️ aa80b32 #4 2022-06-20 08:43:40 ~3 min ios 📦zip
✔️ aa80b32 #4 2022-06-20 08:45:27 ~4 min android 📦aar
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ b133e02 #5 2022-06-20 08:44:01 ~1 min linux 📦zip
✔️ b133e02 #5 2022-06-20 08:45:37 ~1 min ios 📦zip
✔️ b133e02 #5 2022-06-20 08:49:15 ~3 min android 📦aar
✔️ a429480 #6 2022-06-21 09:40:39 ~2 min linux 📦zip
✔️ a429480 #6 2022-06-21 09:40:45 ~2 min ios 📦zip
✔️ a429480 #6 2022-06-21 09:43:25 ~5 min android 📦aar

@flexsurfer flexsurfer force-pushed the bug/fix-old-message-marked-as-seen branch from a0fc884 to 90a468a Compare June 14, 2022 08:04
if chat.ReadMessagesAtClockValue > state.CurrentMessageState.WhisperTimestamp {
receivedMessage.Seen = true
}
// This will prevent older messages to be marked as seen, currently the UI/UX behavior is unspecified,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps add a TODO to flag that this needs to be address in the future?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it didn't work, @Samyoul pls review again, thank you

@flexsurfer flexsurfer force-pushed the bug/fix-old-message-marked-as-seen branch from 90a468a to aa80b32 Compare June 20, 2022 08:40
@flexsurfer flexsurfer requested review from Samyoul and cammellos and removed request for cammellos June 20, 2022 08:40
Copy link
Member

@Samyoul Samyoul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@flexsurfer flexsurfer force-pushed the bug/fix-old-message-marked-as-seen branch from b133e02 to a429480 Compare June 21, 2022 09:37
@flexsurfer flexsurfer merged commit 1c77f2e into develop Jun 21, 2022
@flexsurfer flexsurfer deleted the bug/fix-old-message-marked-as-seen branch June 21, 2022 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants