Opened 19 months ago

Closed 3 months ago

#22676 closed defect (wontfix)

Check if key exists before fetching pref

Reported by: arlolra Owned by:
Priority: Medium Milestone:
Component: Archived/Tor Messenger Version:
Severity: Normal Keywords:
Cc: Actual Points:
Parent ID: Points:
Reviewer: Sponsor:

Description

User reported error on irc,

ERROR (@ prpl-irc: ircHandlers._handleMessage resource:///modules/ircHandlers.jsm:188)
Error running command sasl with handler SASL CAP:
{"rawMessage":":lechuck.hackint.org CAP * LS :account-notify away-notify cap-notify chghost extended-join multi-prefix sasl tls userhost-in-names","command":"CAP","params":["*","LS","account-notify away-notify cap-notify chghost extended-join multi-prefix sasl tls userhost-in-names"],"origin":"lechuck.hackint.org","tags":{},"source":"","cap":{"subcommand":"LS","parameter":"sasl","disable":false,"sticky":false,"ack":false}
Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]

https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Preferences#check_For_Existence

Probably from,

let ecdsa = this.imAccount.wrappedJSObject.prefBranch.getCharPref("ecdsa");

in ircSASL.jsm

Child Tickets

Change History (1)

comment:1 Changed 3 months ago by traumschule

Resolution: wontfix
Status: newclosed

<+sukhe> hello. yes, I think it's fine to close the tickets. thanks for doing what we should done earlier :)

Note: See TracTickets for help on using tickets.