fix icon message
This commit is contained in:
parent
a0c7eb1561
commit
084cb02a11
2
app.js
2
app.js
@ -399,7 +399,7 @@ async function handleConnection(connection, info) {
|
|||||||
if (iconBuffer) {
|
if (iconBuffer) {
|
||||||
const iconMessage = JSON.stringify({
|
const iconMessage = JSON.stringify({
|
||||||
type: 'icon',
|
type: 'icon',
|
||||||
username: config.userName,
|
name: config.userName,
|
||||||
avatar: b4a.toString(iconBuffer, 'base64'),
|
avatar: b4a.toString(iconBuffer, 'base64'),
|
||||||
timestamp: Date.now()
|
timestamp: Date.now()
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user