Skip to content

Commit f4a6d12

Browse files
committed
refactor(sdk): Split power_levels in latest_event.
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`.
1 parent 203a378 commit f4a6d12

File tree

2 files changed

+119
-70
lines changed

2 files changed

+119
-70
lines changed

0 commit comments

Comments
 (0)