Skip to content

Delayed encrypted outgoing messages may be sorted above "Messages are end-to-end encrypted" #7308

@iequidoo

Description

@iequidoo

The scenario:

  • Alice device#1 sends an encrypted message to Bob while being offline. Bob's contact come from vcard or group or the chat was deleted before, not via just-done secure-join
  • Bob sends an encrypted message to Alice while Alice device#1 is still offline. A chat with "Messages are end-to-end encrypted" is created on Alice device#2.
  • Alice device#1 goes online and finally sends the message. On device#2 it will be above "Messages are end-to-end encrypted".

Another scenario is not a delayed message, but Alice having Inbox and Sentbox, and Inbox is synced earlier when going online, see tests::verified_chats::test_old_message_4(). It's not clear yet that we want to get rid finally of scanning other folders like Sentbox (e.g. @gerryfrancis reported that this breaks their use case, so probably not), so this is still a valid scenario.

This is fixed by #7180
Related bug: #6064

EDIT: clarified preconditions above in italics

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    Status

    Closed PRs & Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions