diff --git a/static/koboldai.js b/static/koboldai.js index c3520c2d..04da601d 100644 --- a/static/koboldai.js +++ b/static/koboldai.js @@ -6006,6 +6006,10 @@ function addMessage(author, content, actionId, afterMsgEl=null, time=null) { }); } + messageAuthor.addEventListener("keyup", function() { + profilePicture.src = getChatPfp(messageAuthor.innerText); + }) + addAfterButton.addEventListener("click", function() { addMessage(null, null, actionId, message); });