mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
components/buffer: show disclaimer for +draft/channel-context messages
This commit is contained in:
parent
b9693d53ec
commit
d0064dd647
1 changed files with 4 additions and 0 deletions
|
@ -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";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue