Skip to content

Commit

Permalink
Keep this in until fix is out
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles committed Dec 19, 2024
1 parent 2f20b16 commit aa7924d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use ic_cdk::post_upgrade;
use instruction_counts_log::InstructionCountFunctionId;
use stable_memory::get_reader;
use tracing::info;
use utils::env::Environment;

#[post_upgrade]
#[trace]
Expand All @@ -26,6 +27,11 @@ fn post_upgrade(args: Args) {
data.events.fix_role_changed_events();

let env = init_env(data.rng_seed);
let now = env.now();
for channel in data.channels.iter_mut() {
channel.chat.events.remove_spurious_video_call_in_progress(now);
}

init_state(env, data, args.wasm_version);

let completed_imports = read_state(|state| state.data.groups_being_imported.completed_imports());
Expand Down

0 comments on commit aa7924d

Please sign in to comment.