Giter Site home page Giter Site logo

Comments (4)

link2xt avatar link2xt commented on July 16, 2024 2

Most recent change I see is: deltachat/deltachat-core-rust#4623

Messages are sorted according to time sent, but never above the last read message. If you read every message immediately after receiving, messages will be sorted in the order they are received. If you receive all messages at once and then read them, they all will be ordered in the order of sent timestamps.

from deltachat-desktop.

Simon-Laux avatar Simon-Laux commented on July 16, 2024 1

It seems to be based on the time received and not the time sent.

this is intended behaviour, also if this would be an issue, then it would be a core issue.

the forum has multiple discussions about it:

from deltachat-desktop.

link2xt avatar link2xt commented on July 16, 2024 1

Unless there is a clear scenario which we can detect and improve with a test, I would rather not change anything.

There is a sender clock, which may be wrong. There is a server clock which is the time server received the message, which is affected by propagation delay (time it takes to actually send a message, can be large especially if device was offline for some time and the server does greylisting which delay message by minutes). There is a receiver clock which is used to detect if the sender/server clock is in the future and therefore wrong from the receiver perspective. All these clocks may be wrong and in a group with users from multiple servers propagation delays can be very different between each pair of users.

from deltachat-desktop.

Raiden-GH avatar Raiden-GH commented on July 16, 2024

Thx for the information.
If I understand this correctly, mixed messages should occur more often if the chat runs in "real time" and one partner uses a slow provider? By β€œreal time” I mean that a user reads the messages immediately and responds directly.
Maybe under these circumstances, it might make sense to change the order of the messages afterwards?
At least if the distance in the chat history wouldn't be too large.
For example, if the relevant messages were still visible on the display without scrolling.

from deltachat-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.