1
0
mirror of https://gitlab.com/animath/si/plateforme.git synced 2024-12-24 03:02:23 +00:00

Remove debug code

Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
Emmy D'Anello 2024-04-29 00:08:05 +02:00
parent ed5944e044
commit 90bec6bf5e
Signed by: ynerant
GPG Key ID: 3A75C55819C8CF85

View File

@ -189,7 +189,6 @@ function updateUnreadBadges(unreadMessages) {
for (let channel of Object.values(channels)) {
let unreadMessagesChannel = unreadMessages[channel['id']] || 0
console.log(channel, unreadMessagesChannel)
channel.unread_messages = unreadMessagesChannel
let unreadBadge = document.getElementById(`unread-messages-${channel['id']}`)