lastEventTimeLoaded is never updated - causes full fetch on each communication attempt

This commit is contained in:
Lorelai L 2022-12-11 19:29:38 +01:00
parent d7a8323bc8
commit 97c11bc3e1

View file

@ -277,7 +277,7 @@ class MsgHistoryEventsV2 constructor(
status = "UNKNOWN " + dateUtil.timeString(datetime)
}
}
if (datetime > danaPump.lastEventTimeLoaded) danaPump.lastEventTimeLoaded = datetime
if (datetime > danaRv2Plugin.lastEventTimeLoaded) danaRv2Plugin.lastEventTimeLoaded = datetime
rxBus.send(EventPumpStatusChanged(rh.gs(info.nightscout.pump.dana.R.string.processinghistory) + ": " + status))
}
}