various updates
This commit is contained in:
parent
164aa48ea4
commit
cd15064d3a
16 changed files with 312 additions and 150 deletions
|
@ -273,6 +273,11 @@ class Message extends SnowFlake {
|
|||
premessage = this.channel.messages.get(this.channel.idToPrev.get(this.id));
|
||||
}
|
||||
const div = this.div;
|
||||
for (const user of this.mentions) {
|
||||
if (user === this.localuser.user) {
|
||||
div.classList.add("mentioned");
|
||||
}
|
||||
}
|
||||
if (this === this.channel.replyingto) {
|
||||
div.classList.add("replying");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue