Skip to content

Commit

Permalink
raidtrain: Show stale schedule data while re-fetching (it's likely no…
Browse files Browse the repository at this point in the history
…t changed)
  • Loading branch information
Rosuav committed Sep 26, 2023
1 parent 98224ef commit 3a7a8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/http/chan_raidtrain.pike
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ mapping get_chan_state(object channel, string grp, string|void id) {
//NOTE: Currently requests are always public.
if (slot->claims) add_person(people, slot->claims[*]);
string key = slot->broadcasterid + "_" + slot->start + "_" + slot->end;
slots += ({slot | (["schedule": sched[key]->?age >= maxschedage && sched[key]->schedule])});
slots += ({slot | (["schedule": sched[key]->?schedule])});
}
multiset still_need = m_delete(people, "");
if (sizeof(still_need)) get_users_info((array)still_need)->then() {
Expand Down

0 comments on commit 3a7a8d8

Please sign in to comment.