Commit f4a6d12
committed
refactor(sdk): Split
This patch splits `power_levels: &Option<(&UserId, RoomPowerLevels)>`
into 2 variables: `own_user_id: Option<&UserId>` and `power_levels:
Option<&RoomPowerLevels>`. The idea is to be able to get the
`own_user_id` even if the power levels are `None`.power_levels in latest_event.1 parent 203a378 commit f4a6d12
File tree
2 files changed
+119
-70
lines changed- crates/matrix-sdk/src/latest_events
2 files changed
+119
-70
lines changed
0 commit comments