File tree 1 file changed +2
-2
lines changed
crates/matrix-sdk-crypto/src
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1149,7 +1149,7 @@ impl OlmMachine {
1149
1149
& self ,
1150
1150
sync_changes : EncryptionSyncChanges < ' _ > ,
1151
1151
) -> OlmResult < ( Vec < Raw < AnyToDeviceEvent > > , Vec < RoomKeyInfo > ) > {
1152
- let ( events, changes) = self . receive_sync_changes_helper ( sync_changes) . await ?;
1152
+ let ( events, changes) = self . preprocess_sync_changes ( sync_changes) . await ?;
1153
1153
1154
1154
// Technically save_changes also does the same work, so if it's slow we could
1155
1155
// refactor this to do it only once.
@@ -1161,7 +1161,7 @@ impl OlmMachine {
1161
1161
Ok ( ( events, room_key_updates) )
1162
1162
}
1163
1163
1164
- pub ( crate ) async fn receive_sync_changes_helper (
1164
+ pub ( crate ) async fn preprocess_sync_changes (
1165
1165
& self ,
1166
1166
sync_changes : EncryptionSyncChanges < ' _ > ,
1167
1167
) -> OlmResult < ( Vec < Raw < AnyToDeviceEvent > > , Changes ) > {
You can’t perform that action at this time.
0 commit comments