build user profiles for replies
This commit is contained in:
parent
215b0a4ffe
commit
fc9d4d8d6f
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -359,9 +359,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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue