Closed Bug 1834270 Opened 2 years ago Closed 2 years ago

DM rooms can get duplicated under certain conditions

Categories

(Chat Core :: Matrix, defect)

Thunderbird 112
defect

Tracking

(thunderbird_esr102 wontfix, thunderbird115 fixed, thunderbird116 fixed)

RESOLVED FIXED
116 Branch
Tracking Status
thunderbird_esr102 --- wontfix
thunderbird115 --- fixed
thunderbird116 --- fixed

People

(Reporter: freaktechnik, Assigned: freaktechnik)

Details

Attachments

(1 file)

Okay, this is a very fun bug about how DM rooms work in Matrix.

Steps to reproduce:

  • Get invited to a DM room
  • Have a third party join
  • Have the initial creator leave the room

Expected result: TB now treats the room as a DM room between the third party and you, even though it does not have the DM room metadata for that.

Actual result: TB creates a new DM room with the third party on every startup, because the room isn't correctly registered in the account data (but has the correct interluctor user ID).

Target Milestone: --- → 116 Branch
Status: NEW → ASSIGNED

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/d1b467bfd990
Avoid creating new DM rooms from sync. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Comment on attachment 9335174 [details]
Bug 1834270 - Avoid creating new DM rooms from sync. r=clokep

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined: Connecting a Matrix account can create one ore more unexpected new direct conversation rooms.
Testing completed (on c-c, etc.): Manual testing.
Risk to taking this patch (and alternatives if risky): Alters logic how and when we create direct message conversations. So in terms of Matrix functionality maybe medium.

Attachment #9335174 - Flags: approval-comm-beta?

Comment on attachment 9335174 [details]
Bug 1834270 - Avoid creating new DM rooms from sync. r=clokep

[Triage Comment]
Approved for beta

Attachment #9335174 - Flags: approval-comm-beta? → approval-comm-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: