mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Fix for messages not resetting when stuck in transmitting
This commit is contained in:
parent
ed4901830d
commit
ccce4cfe63
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue