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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user