Closed Bug 955682 Opened 12 years ago Closed 10 years ago

Channel cases are not properly corrected

Categories

(Chat Core :: IRC, defect)

defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: clokep, Assigned: clokep, Mentored)

Details

(Whiteboard: [good first bug])

Attachments

(1 file)

*** Original post on bio 2234 at 2013-10-29 12:00:00 UTC *** When joining a channel we use the channel case of whatever the user typed instead of what the server thinks the capitalization is. (i.e. /join #INSTANTBIRD will not be corrected to #instantbird)
Whiteboard: [mentor=clokep][good first bug]
How should i begin working on it?
Flags: needinfo?(clokep)
(In reply to AdityaSingh [:MacroMayhem] from comment #1) > How should i begin working on it? Take a look at a debug log to see what is sent and received from the server after /join #WRONGCAPITALIZATION, and find out at which point we receive the correct capitalization. Trace the code in chat/protocols/irc which gets called when a channel is joined (start in ircCommands looking for the join command).
[1] is where we get the result that we've JOINed a new channel. Inside of that you want to check if the channel name returned from the message (the variable channelName) matches the conversation's name property. If it doesn't, we need to update the conversation's name. [1] http://lxr.instantbird.org/instantbird/source/chat/protocols/irc/ircBase.jsm#175
Flags: needinfo?(clokep)
Mentor: clokep
Whiteboard: [mentor=clokep][good first bug] → [good first bug]
Attached patch PatchSplinter Review
Patch that fixes the issue. Try doing /join #INSTANTBird or something, the title will get updated to #instantbird.
Assignee: nobody → clokep
Status: NEW → ASSIGNED
Attachment #8561069 - Flags: review?(aleth)
Comment on attachment 8561069 [details] [diff] [review] Patch Review of attachment 8561069 [details] [diff] [review]: ----------------------------------------------------------------- Looks good, thanks!
Attachment #8561069 - Flags: review?(aleth) → review+
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.6
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: