Merge branch 'master' into master

This commit is contained in:
Moritz R
2022-07-24 14:37:22 +02:00
committed by GitHub
104 changed files with 6172 additions and 8522 deletions

View File

@@ -22,7 +22,10 @@ async function sendNotificationList(socket) {
]);
for (let bean of list) {
result.push(bean.export());
let notificationObject = bean.export();
notificationObject.isDefault = (notificationObject.isDefault === 1);
notificationObject.active = (notificationObject.active === 1);
result.push(notificationObject);
}
io.to(socket.userID).emit("notificationList", result);