Closed Bug 1186523 Opened 9 years ago Closed 9 years ago

Normalize does not exist for UnknownProtocol

Categories

(Chat Core :: General, defect)

defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED FIXED
Instantbird 42

People

(Reporter: clokep, Assigned: clokep)

Details

Attachments

(1 file, 1 obsolete file)

It doesn't implement the full account API, this is fixed (in a minimalistic way) in [1], maybe creating a real account with jsProtoHelper would be better? Nominally setting myself as the assignee because it's easy and we should fix it, but feel free to grab this if you'd like. [1] https://bugzilla.mozilla.org/attachment.cgi?id=8580335&action=diff#a/chat/components/src/imAccounts.js_sec2
Attached patch Patch v1 (obsolete) — Splinter Review
A slightly more verbose version.
Attachment #8637486 - Flags: review?(aleth)
Comment on attachment 8637486 [details] [diff] [review] Patch v1 Review of attachment 8637486 [details] [diff] [review]: ----------------------------------------------------------------- ::: chat/components/src/imAccounts.js @@ +103,5 @@ > get usePurpleProxy() false > }; > > function UnknownAccountBuddy(aAccount, aBuddy, aTag) { > + let unknownAccount = { Would it make more sense to do unknownaAccount.prototype = GenericAccountPrototype?
Attached patch Patch v2Splinter Review
Now using GenericAccountPrototype.
Attachment #8637486 - Attachment is obsolete: true
Attachment #8637486 - Flags: review?(aleth)
Attachment #8638199 - Flags: review?(aleth)
Comment on attachment 8638199 [details] [diff] [review] Patch v2 Review of attachment 8638199 [details] [diff] [review]: ----------------------------------------------------------------- Thanks!
Attachment #8638199 - Flags: review?(aleth) → review+
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.6
Updating milestone from 1.6 to 42.
Target Milestone: 1.6 → Instantbird 42
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: