Closed
Bug 524003
Opened 15 years ago
Closed 13 years ago
Messages originating from the connected user not sent from ChatZilla are not marked as from the user
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: test.email.things, Assigned: bugzilla-mozilla-20000923)
Details
(Whiteboard: [cz-0.9.88])
Attachments
(1 file)
1.18 KB,
patch
|
samuel
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 (.NET CLR 3.5.30729) Build Identifier: 0.9.85 Irssi-proxy allows for one connection to IRC on a remote server, and several other clients can connect to that connection and behave as if they were that connection. So, for example, you can connect to IRC as Fred on your server, then send and receive messages as Fred from all your home computers. This works fine for other IRC clients I've tried - Colloquy, Irssi, Bitchx, etc. - and in each case if I write something on one client it appears on all the others as if I had just said it (the line, name, etc. is formatted as it would be had I sat down at that client to send the text). On Chatzilla, it instead is formatted as a message written by someone with the same name - so instead of the name being in black (expected behaviour), it's a hyperlink (in the same way as other people are displayed). Worst still, Chatzilla then Notifies me that someone has said my name (picking up on the <name> being identical to my name). Reproducible: Always Steps to Reproduce: 1.Install irssi 2.Load and set up the proxy module (there are many sets of instructions on Google) 3.Connect to the proxy using Chatzilla, and again using a different client (eg. irssi) 4.Type something into the other client, and see how it displays under Chatzilla Actual Results: Text appears in the same style as when other people speak, my name is hyperlinked, and Chatzilla Notifies for that line. Expected Results: Treat the text as it would had I typed it into Chatzilla - ie. not Notify me, and keep the name without a hyperlink
Comment 1•13 years ago
|
||
I have also seen this behavior with ChatZilla connected to a ZNC. You could also reproduce this by faking a message from the server in the normal PRIVMSG format originating from yourself.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
Summary: Chatzilla with Irssi-proxy does not treat other clients' text as coming from the user → Messages originating from the connected user not sent from ChatZilla are not marked as from the user
Assignee | ||
Comment 2•13 years ago
|
||
So what happens is that we get a CIRCChanUser object in the display code and compare it to the CIRCUser object for 'me'. The two obviously don't == so we treat the messages as foreign. This patch allows for any object with a canonicalName that == me.canonicalName to be treated as 'me'.
Updated•13 years ago
|
Attachment #532934 -
Flags: review?(samuel) → review+
Assignee | ||
Comment 3•13 years ago
|
||
http://hg.mozilla.org/chatzilla/rev/5a0e370d6cf4
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Version: unspecified → Trunk
Assignee | ||
Updated•12 years ago
|
Whiteboard: [cz-0.9.88]
You need to log in
before you can comment on or make changes to this bug.
Description
•