components/buffer: show disclaimer for +draft/channel-context messages

This commit is contained in:
Simon Ser 2022-06-28 15:55:35 +02:00
parent b9693d53ec
commit d0064dd647

View file

@ -146,6 +146,10 @@ class LogLine extends Component {
}
}
if (msg.tags["+draft/channel-context"]) {
content = html`<em>(only visible to you)</em> ${content}`;
}
if (msg.isHighlight) {
lineClass += " highlight";
}