components/buffer: use case-mapping when displaying MODE messages
This commit is contained in:
parent
6be24e8ed9
commit
9e68316467
1 changed files with 1 additions and 2 deletions
|
@ -199,8 +199,7 @@ class LogLine extends Component {
|
||||||
content = html`
|
content = html`
|
||||||
* ${createNick(msg.prefix.name)} sets mode ${msg.params.slice(1).join(" ")}
|
* ${createNick(msg.prefix.name)} sets mode ${msg.params.slice(1).join(" ")}
|
||||||
`;
|
`;
|
||||||
// TODO: case-mapping
|
if (server.cm(buf.name) !== server.cm(target)) {
|
||||||
if (buf.name !== target) {
|
|
||||||
content = html`${content} on ${target}`;
|
content = html`${content} on ${target}`;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue