Oh, right yeah
This commit is contained in:
parent
50fcbeb9f0
commit
7eb7f9fa31
|
@ -140,12 +140,13 @@ async fn handle_message_from_node(
|
||||||
remaining,
|
remaining,
|
||||||
} => {
|
} => {
|
||||||
if let Some(hyperdeck) = state.hyperdecks.get_mut(&hyperdeck_id) {
|
if let Some(hyperdeck) = state.hyperdecks.get_mut(&hyperdeck_id) {
|
||||||
hyperdeck
|
let entry = hyperdeck
|
||||||
.slots
|
.slots
|
||||||
.entry(slot_id)
|
.entry(slot_id)
|
||||||
.or_insert(HyperdeckRecordBay {
|
.or_insert(HyperdeckRecordBay {
|
||||||
recording_time_remaining: remaining,
|
recording_time_remaining: remaining,
|
||||||
});
|
});
|
||||||
|
entry.recording_time_remaining = remaining;
|
||||||
true
|
true
|
||||||
} else {
|
} else {
|
||||||
false
|
false
|
||||||
|
|
Loading…
Reference in New Issue