build user profiles for replies

This commit is contained in:
MathMan05 2024-09-08 14:42:34 -05:00
parent 215b0a4ffe
commit fc9d4d8d6f
2 changed files with 4 additions and 4 deletions

View file

@ -365,9 +365,9 @@ class Message extends SnowFlake {
const author = message.author;
reply.appendChild(message.content.makeHTML({ stdsize: true }));
minipfp.src = author.getpfpsrc();
author.bind(minipfp);
author.bind(minipfp, this.guild);
username.textContent = author.username;
author.bind(username);
author.bind(username, this.guild);
});
reply.onclick = _ => {
this.channel.infinite.focus(this.message_reference.message_id);