forked from CringeStudios/gamja
components/buffer: show disclaimer for +draft/channel-context messages
This commit is contained in:
parent
b9693d53ec
commit
d0064dd647
@ -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) {
|
if (msg.isHighlight) {
|
||||||
lineClass += " highlight";
|
lineClass += " highlight";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user