Fixed message mixer spam.

This commit is contained in:
armored-dragon 2024-09-06 14:00:06 -05:00
parent 28ef700a6e
commit 0700c89503
No known key found for this signature in database
GPG key ID: C7207ACC3382AD8B

View file

@ -232,6 +232,9 @@
}
function receivedMessage(channel, message){
// Not for us, ignore!
if (channel !== 'ga-polls' && channel !== poll.id) return;
console.log(`Received message on ${channel} from server:\n${JSON.stringify(message)}\n`);
message = JSON.parse(message);