fix a few bugs

This commit is contained in:
MathMan05 2024-08-16 22:21:38 -05:00
parent 81dd5516b5
commit def930115f
4 changed files with 8 additions and 8 deletions

View file

@ -280,7 +280,7 @@ class Message{
const combine=(premessage?.author?.snowflake!=this.author.snowflake)||(current)||this.message_reference
if(combine){
const pfp=this.author.buildpfp();
this.author.bind(pfp);
this.author.bind(pfp,this.guild);
pfpRow.appendChild(pfp);
}else{
div["pfpparent"]=pfpparent;
@ -358,7 +358,7 @@ class Message{
const username=document.createElement("span");
username.textContent=this.author.username;
this.author.profileclick(username);
//this.author.profileclick(username);
this.author.bind(username,this.guild);
texttxt.appendChild(username);
username.classList.add("username");