Closed Bug 1856700 Opened 2 years ago Closed 2 years ago

shouldn't load libotr if we don't have a chat account

Categories

(Thunderbird :: Instant Messaging, defect)

defect

Tracking

(thunderbird_esr115 fixed, thunderbird119 fixed)

RESOLVED FIXED
120 Branch
Tracking Status
thunderbird_esr115 --- fixed
thunderbird119 --- fixed

People

(Reporter: mkmelin, Assigned: mkmelin)

Details

(Keywords: perf:startup)

Attachments

(1 file)

Even for profiles without a chat account, on startup I see

console.debug: "Trying to load /home/...... /mozilla/obj-x86_64-pc-linux-gnu/dist/bin/libotr.so"
console.debug: "Trying to load libotr.so from system's standard library locations"
console.debug: "Successfully loaded OTR library libotr.so from system's standard library locations"

Nothing should be written when we're successful. And we shouldn't load libotr if there is no chat account set up.

Target Milestone: --- → 120 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/c825b523851c
avoid loading OTR before we have any chat acccounts. r=freaktechnik

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

Comment on attachment 9356455 [details]
Bug 1856700 - avoid loading OTR before we have any chat acccounts. r=freaktechnik

[Approval Request Comment]
Regression caused by (bug #): never worked
User impact if declined: unneeded loading of library (small perf issue)
Testing completed (on c-c, etc.): c-c
Risk to taking this patch (and alternatives if risky): safe

Attachment #9356455 - Flags: approval-comm-esr115?
Attachment #9356455 - Flags: approval-comm-beta?

Comment on attachment 9356455 [details]
Bug 1856700 - avoid loading OTR before we have any chat acccounts. r=freaktechnik

[Triage Comment]
Approved for beta

Attachment #9356455 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9356455 [details]
Bug 1856700 - avoid loading OTR before we have any chat acccounts. r=freaktechnik

[Triage Comment]
Approved for esr115

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

Attachment

General

Created:
Updated:
Size: