From b46ca2b2df44dcc97e230c062453024d62c5542b Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sun, 9 Jun 2024 05:35:37 -0400 Subject: [PATCH] repair icons for report peers --- app.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app.js b/app.js index b975fe3..6f29bed 100644 --- a/app.js +++ b/app.js @@ -386,7 +386,9 @@ function onMessageAdded(from, message, avatar) { $div.classList.add('message'); const $img = document.createElement('img'); - $img.src = updatePortInUrl(config.userAvatar) || 'https://via.placeholder.com/40'; // Default to a placeholder image if avatar URL is not provided + + $img.src = updatePortInUrl(avatar) || 'https://via.placeholder.com/40'; // Default to a placeholder image if avatar URL is not provided + console.log(updatePortInUrl(avatar)) $img.classList.add('avatar'); $div.appendChild($img);