talk-android/app/src/main/java/com/nextcloud/talk/polls
Marcel Hibbe 754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.

Other than that, many other changes were made as a result of this change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
..
adapters ktlint: First line of body expression fits on same line as function signature 2023-12-05 16:28:49 +01:00
model
repositories pass spreedCapabilities instead user to CapabilitiesUtil 2024-03-01 11:25:11 +01:00
ui ktlint: Empty parentheses in function call followed by lambda are unnecessary 2023-12-05 16:45:24 +01:00
viewmodels ktlint: Property name should start with a lowercase letter and use camel case 2023-12-05 16:37:53 +01:00