display channel topic

This commit is contained in:
TomatoCake
2024-08-18 07:50:06 +02:00
parent 302341bb99
commit 5d2d0267f9
4 changed files with 17 additions and 4 deletions

View File

@@ -141,6 +141,7 @@ class Group extends Channel{
this.buildmessages();
history.pushState(null, null,"/channels/"+this.guild_id+"/"+this.snowflake);
document.getElementById("channelname").textContent="@"+this.name;
document.getElementById("channelTopic").setAttribute("hidden","");
document.getElementById("typebox").contentEditable=""+true;
}
messageCreate(messagep){