From 55d00260fa3de9595ee4e18dee2f4538335f9a94 Mon Sep 17 00:00:00 2001 From: Raven Scott Date: Sun, 9 Jun 2024 05:09:39 -0400 Subject: [PATCH] fix user icons between peers --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index 302e547..b975fe3 100644 --- a/app.js +++ b/app.js @@ -386,7 +386,7 @@ function onMessageAdded(from, message, avatar) { $div.classList.add('message'); const $img = document.createElement('img'); - $img.src = avatar || 'https://via.placeholder.com/40'; // Default to a placeholder image if avatar URL is not provided + $img.src = updatePortInUrl(config.userAvatar) || 'https://via.placeholder.com/40'; // Default to a placeholder image if avatar URL is not provided $img.classList.add('avatar'); $div.appendChild($img);