Closed Bug 1728975 Opened 3 years ago Closed 3 years ago

Room encryption state is never trusted

Categories

(Chat Core :: Matrix, defect)

defect

Tracking

(thunderbird_esr91 unaffected, thunderbird92 affected)

RESOLVED FIXED
94 Branch
Tracking Status
thunderbird_esr91 --- unaffected
thunderbird92 --- affected

People

(Reporter: freaktechnik, Assigned: freaktechnik)

References

Details

Attachments

(1 file)

The room encryption state interface is currently entirely sync. However to figure out if a room should be trusted we need to call an async Matrix API.

Since we should get change events, we could cache this information on the room instance, so the getter is sync.

Alternatively, we would have to turn the interface into being async.

Assignee: nobody → martin
Status: NEW → ASSIGNED
Target Milestone: --- → 94 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/431ff0932376
Fix matrix encryption state always untrusted. r=clokep

Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: