axolotl icon indicating copy to clipboard operation
axolotl copied to clipboard

[BUG] linked devices show wrong timestamp

Open Danfro opened this issue 4 years ago • 1 comments

Description

On the "linked devices" page all device links are shown. Each device has got a btimestamp "last seen". This timestamp is wrong.

Steps to Reproduce

  1. open Signal Desktop on a linked device
  2. open Axolotl on our phone
  3. goto linked devices page

Expected behavior:

For my phone and for the linked device where I just opened signal desktop a more or less current timestamp is shown.

Actual behavior:

The timestamp shown is off by several hours. Right now it was showing "last seen 18 hours ago"

Versions

1.0.5

Device

Xperia X, devel, Ubuntu touch

Danfro avatar Sep 24 '21 19:09 Danfro

The implementation fetches the info from the signal servers: https://github.com/signal-golang/textsecure/blob/282f3a28bba1e82bbfe388720d73621c053eb490/server.go#L390-L406

So maybe there is another API version which returns more reliable information, but using this endpoint there is nothing we can do about this.

Blackoverflow avatar Dec 26 '21 23:12 Blackoverflow