fix icon message

This commit is contained in:
Raven Scott 2024-07-07 22:00:13 -04:00
parent a0c7eb1561
commit 084cb02a11

2
app.js
View File

@ -399,7 +399,7 @@ async function handleConnection(connection, info) {
if (iconBuffer) {
const iconMessage = JSON.stringify({
type: 'icon',
username: config.userName,
name: config.userName,
avatar: b4a.toString(iconBuffer, 'base64'),
timestamp: Date.now()
});