Skip to content

Start DM by inviting again an email create a new DM #23139

@giomfo

Description

@giomfo

Your use case

Steps to reproduce

  1. Start a new DM by selecting an e-mail and sending a message -> a new DM is created unencrypted and a third party invite is sent - OK
  2. Other user does not react to the invite, yet - They did create their mx account, or they did not enable discovery of their account via their email address
  3. Start again a new DM by selecting the same email -> Element-web suggests sending your first message - NOK this will create a new DM instead of keep using the existing one

What would you like to do?

The existing DM should be opened when I press Go on the Start DM dialog (after having selected the same email)

Why would you like to do it?

To prevent multiple DM for the same contact

How would you like to achieve it?

Check whether a DM is already created for the email in the m.direct event (Account Data)

Have you considered any alternatives?

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DMsA-Immutable-DMsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions