Remove debug code
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
ed5944e044
commit
90bec6bf5e
|
@ -189,7 +189,6 @@ function updateUnreadBadges(unreadMessages) {
|
||||||
|
|
||||||
for (let channel of Object.values(channels)) {
|
for (let channel of Object.values(channels)) {
|
||||||
let unreadMessagesChannel = unreadMessages[channel['id']] || 0
|
let unreadMessagesChannel = unreadMessages[channel['id']] || 0
|
||||||
console.log(channel, unreadMessagesChannel)
|
|
||||||
channel.unread_messages = unreadMessagesChannel
|
channel.unread_messages = unreadMessagesChannel
|
||||||
|
|
||||||
let unreadBadge = document.getElementById(`unread-messages-${channel['id']}`)
|
let unreadBadge = document.getElementById(`unread-messages-${channel['id']}`)
|
||||||
|
|
Loading…
Reference in New Issue