fix message reposting

pull/90/head
Aevann 2023-01-21 12:58:37 +02:00
parent c047e0169a
commit 2404f8fbe7
1 changed files with 2 additions and 2 deletions

View File

@ -146,8 +146,8 @@ socket.on('speak', function(json) {
socket.on('catchup', function(json) {
for (const message of json) {
console.log(json['id'])
const existing = document.getElementById(json['id'])
console.log(message['id'])
const existing = document.getElementById(message['id'])
if (existing) break
console.log(existing)
handle_message(message)