Playing around with the local clock, messages in chat views (DMs and chanels) are sorted in display according to timestamp the message has, but in selection (when I tap on them) by physical order of reception/ sending.
Leading to a mismatch: Tapping on a message with modified timestamp opens another message.
Which device are you using
LilyGO T-Deck Plus
Which Firmware are you using
v0.9.12
To Reproduce
Have clock set to time A
Send a message a
Have clock set to time B (B < A)
Send a message b (or receive a message b from another client where the time is set to B)
Observe that in the chat view, the messages are ordered as
B: b
A: a
Observe that when you tap on message B: b, message A: a opens, and when you tap on message A: a, message B: b opens.
Expected result
"Tap"-sorting same as "view"-sorting.
I don't know if we should sort by timestamp or physical reception. Opinions? (To see freshly received messages, sorting by physical reception could be nice.)
Regards!
**Describe the bug**
Playing around with the local clock, messages in chat views (DMs and chanels) are sorted in _display_ according to timestamp the message has, but in _selection_ (when I tap on them) by physical order of reception/ sending.
Leading to a mismatch: Tapping on a message with modified timestamp opens another message.
**Which device are you using**
LilyGO T-Deck Plus
**Which Firmware are you using**
v0.9.12
**To Reproduce**
1. Have clock set to time A
2. Send a message a
3. Have clock set to time B (B < A)
4. Send a message b (or receive a message b from another client where the time is set to B)
5. Observe that in the chat view, the messages are ordered as
```
B: b
A: a
```
6. Observe that when you tap on message `B: b`, message `A: a` opens, and when you tap on message `A: a`, message `B: b` opens.
**Expected result**
"Tap"-sorting same as "view"-sorting.
I don't know if we should sort by timestamp or physical reception. Opinions? (To see freshly received messages, sorting by physical reception could be nice.)
Regards!
<!-- github-sync-id:4359386024 -->
tapping a message now opens exactly the message you tapped, also when messages have odd timestamps (display and tap use the same order). Would be nice if you could retest!
tapping a message now opens exactly the message you tapped, also when messages have odd timestamps (display and tap use the same order). Would be nice if you could retest!
<!-- github-comment-id:5920025079 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Describe the bug
Playing around with the local clock, messages in chat views (DMs and chanels) are sorted in display according to timestamp the message has, but in selection (when I tap on them) by physical order of reception/ sending.
Leading to a mismatch: Tapping on a message with modified timestamp opens another message.
Which device are you using
LilyGO T-Deck Plus
Which Firmware are you using
v0.9.12
To Reproduce
B: b, messageA: aopens, and when you tap on messageA: a, messageB: bopens.Expected result
"Tap"-sorting same as "view"-sorting.
I don't know if we should sort by timestamp or physical reception. Opinions? (To see freshly received messages, sorting by physical reception could be nice.)
Regards!
tapping a message now opens exactly the message you tapped, also when messages have odd timestamps (display and tap use the same order). Would be nice if you could retest!