Closed
Bug 955910
Opened 10 years ago
Closed 10 years ago
Conference room numbers jump two values
Categories
(Chat Core :: Yahoo! Messenger, defect)
Chat Core
Yahoo! Messenger
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: qheaden, Assigned: qheaden)
Details
Attachments
(1 file, 1 obsolete file)
1.13 KB,
patch
|
clokep
:
review+
|
Details | Diff | Splinter Review |
When creating conference rooms using JS-Yahoo, the conference room numbers are 1, 3, 5, etc. They need to only jump one value at a time.
Assignee | ||
Comment 1•10 years ago
|
||
This patch fixes the issue of conference room numbers. I removed one of the increment statements that was double incrementing the numbers.
Comment 2•10 years ago
|
||
Comment on attachment 8360829 [details] [diff] [review] Patch 1 Review of attachment 8360829 [details] [diff] [review]: ----------------------------------------------------------------- I'm glad this was so simple to figure out! I just have one small nit. ::: chat/protocols/yahoo/yahoo.js @@ +459,5 @@ > get canJoinChat() true, > chatRoomFields: {}, > joinChat: function(aComponents) { > + // Use _roomsCreated to append a unique number to the room name. > + this._roomsCreated++; Nit: ++this._roomsCreated;
Attachment #8360829 -
Flags: review?(clokep) → review-
Assignee | ||
Comment 3•10 years ago
|
||
This patch uses the prefix increment operator instead of postfix. Also, I removed the increment operation as a separate line, and simply moved it in-line with the assignment of the room name.
Attachment #8397780 -
Flags: review?(clokep)
Updated•10 years ago
|
Attachment #8397780 -
Flags: review?(clokep) → review+
Updated•10 years ago
|
Keywords: checkin-needed
Updated•10 years ago
|
Attachment #8360829 -
Attachment is obsolete: true
Comment 4•10 years ago
|
||
https://hg.mozilla.org/comm-central/rev/d69fef57ca19
Updated•10 years ago
|
Target Milestone: --- → 1.6
You need to log in
before you can comment on or make changes to this bug.
Description
•