mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
chore(sync/v3): Use "build_*" terminology instead of "calculate_*"
This commit is contained in:
@@ -21,7 +21,7 @@ use crate::client::{
|
||||
TimelinePdus, ignored_filter,
|
||||
sync::{
|
||||
load_timeline,
|
||||
v3::{SyncContext, prepare_lazily_loaded_members, state::calculate_state_initial},
|
||||
v3::{SyncContext, prepare_lazily_loaded_members, state::build_state_initial},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -192,7 +192,7 @@ pub(super) async fn load_left_room(
|
||||
// TODO: calculate incremental state for incremental syncs.
|
||||
// always calculating initial state _works_ but returns more data and does
|
||||
// more processing than strictly necessary.
|
||||
let state = calculate_state_initial(
|
||||
let state = build_state_initial(
|
||||
services,
|
||||
syncing_user,
|
||||
timeline_start_shortstatehash,
|
||||
|
||||
Reference in New Issue
Block a user