Bug 480630 - Put user's channel mode into table row attribute, for motifs.

r=silver
p=glenjamin+bmo@gmail.com (Glen Mailer)
ChatZilla only.


git-svn-id: svn://10.0.0.236/trunk@257047 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
silver%warwickcompsoc.co.uk
2009-04-24 12:21:24 +00:00
parent 0811bc4132
commit e6b6baf8d6

View File

@@ -4237,9 +4237,16 @@ function __display(message, msgtype, sourceObj, destObj)
if (fromAttr)
{
if (fromUser)
{
msgRow.setAttribute("msg-user", fromAttr);
// Set some mode information for channel users
if (fromType == 'IRCChanUser')
msgRow.setAttribute("msg-user-mode", sourceObj.modes.join(" "));
}
else
{
msgRow.setAttribute("msg-source", fromAttr);
}
}
if (toOther)
msgRow.setAttribute("to-other", toOther);