Closed Bug 1102527 Opened 10 years ago Closed 10 years ago

Rejoin message no longer shown

Categories

(Chat Core :: IRC, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: aleth, Assigned: aleth)

Details

(Keywords: regression, Whiteboard: [1.6-blocking])

Attachments

(1 file)

STR
/part followed by /join

Reason: conv.chatRoomFields is set when the code doesn't expect it to be.

Probably a regression from the joining throbber changes.
Assignee: nobody → aleth
Status: NEW → ASSIGNED
Attached patch rejoinfix.diffSplinter Review
It was indeed due to the joining throbber changes in the order in which things happen when joining a channel.
Attachment #8527238 - Flags: review?(clokep)
Comment on attachment 8527238 [details] [diff] [review]
rejoinfix.diff

Review of attachment 8527238 [details] [diff] [review]:
-----------------------------------------------------------------

::: chat/protocols/irc/irc.js
@@ +1510,5 @@
> +      }
> +      else if (!conv.chatRoomFields) {
> +        // We are rejoining a channel that was parted by the user.
> +        conv._rejoined = true;
> +      }

Nit: No {}, put the comments on the line above the if statements.
Attachment #8527238 - Flags: review?(clokep) → review+
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/a6f0ef227906
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: