Closed
Bug 955682
Opened 12 years ago
Closed 10 years ago
Channel cases are not properly corrected
Categories
(Chat Core :: IRC, defect)
Chat Core
IRC
Tracking
(Not tracked)
RESOLVED
FIXED
1.6
People
(Reporter: clokep, Assigned: clokep, Mentored)
Details
(Whiteboard: [good first bug])
Attachments
(1 file)
2.22 KB,
patch
|
aleth
:
review+
|
Details | Diff | Splinter Review |
*** 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)
Assignee | ||
Updated•11 years ago
|
Whiteboard: [mentor=clokep][good first bug]
Comment 2•11 years ago
|
||
(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).
Assignee | ||
Comment 3•11 years ago
|
||
[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)
Updated•11 years ago
|
Mentor: clokep
Whiteboard: [mentor=clokep][good first bug] → [good first bug]
Assignee | ||
Comment 4•10 years ago
|
||
Patch that fixes the issue.
Try doing /join #INSTANTBird or something, the title will get updated to #instantbird.
Comment 5•10 years ago
|
||
Comment on attachment 8561069 [details] [diff] [review]
Patch
Review of attachment 8561069 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, thanks!
Attachment #8561069 -
Flags: review?(aleth) → review+
Assignee | ||
Comment 6•10 years ago
|
||
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.
Description
•