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

Presence: Last seen seems to be wrongly calculated #125

Closed
krille-chan opened this issue Jul 15, 2023 · 2 comments
Closed

Presence: Last seen seems to be wrongly calculated #125

krille-chan opened this issue Jul 15, 2023 · 2 comments
Labels
stale The item is going to be closed soon because of inactivity

Comments

@krille-chan
Copy link
Owner

Description

When viewing a users details, the shown last active time seems to be calculated wrongly.

e.g.:
User was last seen 15min ago, it would calculate 20:04. A few minutes later it would still be 15min (if the users presence didn't change), but the time would be updated to 20:10, even if there wasn't an update on the homeservers database.

To Reproduce

Additional information:

  • Device: OnePlus 5T
  • OS and OS version: LineageOS 18.1 (Android 11)
  • Installed version of FluffyChat: 0.37.0
  • (Android only) Which store are you using: f-droid
  • (Android only) Are Google Services available: no

As far as I could see, the used flutter-matrix-sdk doesn't store/calculate the "received" time of a presence status and probably always takes the currentTime - last_active_ago as the last active time.

Copy link

github-actions bot commented Mar 6, 2024

This issue is stale because it has been open for 120 days with no activity.

@github-actions github-actions bot added the stale The item is going to be closed soon because of inactivity label Mar 6, 2024
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale The item is going to be closed soon because of inactivity
Projects
None yet
Development

No branches or pull requests

1 participant