SMYN: Fix mention coloring when using IRCColors. (#817)
This commit is contained in:
parent
3c7cbf42bd
commit
f6a9580197
1 changed files with 1 additions and 1 deletions
|
|
@ -380,7 +380,7 @@ function getMentionNameElement(props: mentionProps): JSX.Element | null {
|
|||
let colorStrings: colorStringsType = undefined;
|
||||
|
||||
if (isPluginEnabled(ircColors.name)) {
|
||||
const color = ircColors.calculateNameColorForMessageContext({ message: { author: { id: userId } }, channel });
|
||||
const color = ircColors.calculateNameColorForMessageContext({ message: { author: author }, author: author, channel: channel });
|
||||
|
||||
if (color) {
|
||||
colorString = color;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue