message pins and better welcome messages
This commit is contained in:
parent
71ee9d3f36
commit
1ade94470a
11 changed files with 261 additions and 21 deletions
|
@ -429,6 +429,14 @@ class Group extends Channel {
|
|||
return div;
|
||||
}
|
||||
async getHTML(addstate = true) {
|
||||
const pinnedM = document.getElementById("pinnedMDiv");
|
||||
if (pinnedM) {
|
||||
if (this.unreadPins()) {
|
||||
pinnedM.classList.add("unreadPin");
|
||||
} else {
|
||||
pinnedM.classList.remove("unreadPin");
|
||||
}
|
||||
}
|
||||
const ghostMessages = document.getElementById("ghostMessages") as HTMLElement;
|
||||
ghostMessages.innerHTML = "";
|
||||
for (const thing of this.fakeMessages) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue