Fix for messages not resetting when stuck in transmitting

This commit is contained in:
Mashintime 2023-08-08 16:32:35 -04:00
parent ed4901830d
commit ccce4cfe63

View file

@ -1060,7 +1060,7 @@ update_chat = function (obj) {
}
// check if wrong status message
if (obj.status == "transmit" && obj.type == "transmit" && obj.percent < 100) {
if (obj.status == "transmitting" && obj.type == "transmit" && obj.percent < 100) {
var TimeDifference = new Date().getTime() / 1000 - obj.timestamp;
if (TimeDifference > 21600) {
//Six hours