OTR, buddy right click, "add OTR fingerprint" for online contacts is broken
Categories
(Chat Core :: Security: OTR, defect)
Tracking
(thunderbird68 fixed, thunderbird69 fixed)
People
(Reporter: KaiE, Assigned: aleca)
References
Details
Attachments
(1 file, 2 obsolete files)
1.54 KB,
patch
|
aleca
:
review+
jorgk-bmo
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
In the original code snapshot (pre-review), the right-click menu entry "add contact's OTR fingerprint" was shown for offline contact's, only.
Today during testing I saw that the menu item is present for online contacts, too.
However, it's broken. When selecting it, I get error "TypeError: contact.preferredBuddy is undefined"
For now, as an immediate bugfix (after bug 1518172 landed), I suggest to NOT show the menu for online contacts.
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
I'm taking care of this, which is related to Bug 1549935
Upon right clicking on a contact's name I'm getting this console warning.
console.warn: "[fluent] Missing translations in en-US: buddycontextmenu.label."
Kai, I know you converted the translatable strings to Fluent, is this something you can take care of or point me to the right direction?
Assignee | ||
Comment 2•5 years ago
|
||
After further investigation, the TypeError: contact.preferredBuddy is undefined
warning appears only if the conversation with that contact is open, independently if the contact is online or offline.
Assignee | ||
Comment 3•5 years ago
|
||
Comment 4•5 years ago
|
||
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Reporter | ||
Comment 6•5 years ago
|
||
(In reply to Alessandro Castellani (:aleca) from comment #1)
Upon right clicking on a contact's name I'm getting this console warning.
console.warn: "[fluent] Missing translations in en-US: buddycontextmenu.label."
buddycontextmenu.label must be changed in OTRUI.jsm to buddycontextmenu-label
Assignee | ||
Comment 7•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Pushed by mozilla@jorgk.com:
https://hg.mozilla.org/comm-central/rev/2e120efeddbf
Fix "Add Contact's OTR Fingerprint" for contact with open conversation. r=mkmelin
Comment 9•5 years ago
|
||
I was agonising a bit over the commit message here. Even as a non-native English speaker "opened conversation" sounds wrong. The adjective is "open". "Opened" is used in "Juliet opened her eyes and saw, oh dear, ..." - https://dictionary.cambridge.org/grammar/british-grammar/open-or-opened. Or maybe that's another "Americanism".
Updated•5 years ago
|
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Updated•5 years ago
|
Description
•