No point in this
This commit is contained in:
@@ -269,7 +269,7 @@ app.ws('/ws', {
|
|||||||
fillerMessage: {
|
fillerMessage: {
|
||||||
username: userInfo[0].username,
|
username: userInfo[0].username,
|
||||||
userId: chat.userId,
|
userId: chat.userId,
|
||||||
content: chat.content,
|
content: atob(chat.content),
|
||||||
id: chat.id,
|
id: chat.id,
|
||||||
icon: savedata?.bird?.icon ?? 1,
|
icon: savedata?.bird?.icon ?? 1,
|
||||||
overlay: savedata?.bird?.overlay ?? 0,
|
overlay: savedata?.bird?.overlay ?? 0,
|
||||||
@@ -360,7 +360,7 @@ app.ws('/ws', {
|
|||||||
data: {
|
data: {
|
||||||
username: userInfo[0].username,
|
username: userInfo[0].username,
|
||||||
userId,
|
userId,
|
||||||
content: btoa(message.data.content as string),
|
content: message.data.content as string,
|
||||||
id: insert[0].insertId,
|
id: insert[0].insertId,
|
||||||
icon: savedata?.bird?.icon ?? 1,
|
icon: savedata?.bird?.icon ?? 1,
|
||||||
overlay: savedata?.bird?.overlay ?? 0,
|
overlay: savedata?.bird?.overlay ?? 0,
|
||||||
@@ -437,7 +437,7 @@ app.ws('/ws', {
|
|||||||
mapped.push({
|
mapped.push({
|
||||||
username: userInfo[0].username,
|
username: userInfo[0].username,
|
||||||
userId: chat.userId,
|
userId: chat.userId,
|
||||||
content: chat.content,
|
content: atob(chat.content),
|
||||||
id: chat.id,
|
id: chat.id,
|
||||||
icon: savedata?.bird?.icon ?? 1,
|
icon: savedata?.bird?.icon ?? 1,
|
||||||
overlay: savedata?.bird?.overlay ?? 0,
|
overlay: savedata?.bird?.overlay ?? 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user