diff --git a/CHANGES.md b/CHANGES.md
index 405af86366..051505f00e 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -7,6 +7,7 @@ Features ✨:
Improvements 🙌:
- Sending events is now retried only 3 times, so we avoid blocking the sending queue too long.
- Display warning when fail to send events in room list
+ - Improve UI of edit role action in member profile
Bugfix 🐛:
- Fix theme issue on Room directory screen (#1613)
@@ -17,6 +18,8 @@ Bugfix 🐛:
- Fix Infinite loop at startup when migrating account from Riot (#1699)
- Fix Element crashes in loop after initial sync (#1709)
- Fix timeline items not loading when there are only filtered events
+ - Fix "Voice & Video" grayed out in Settings (#1733)
+ - Fix Allow VOIP call in all rooms with 2 participants (even if not DM)
Translations 🗣:
-
diff --git a/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/session/room/model/RoomSummary.kt b/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/session/room/model/RoomSummary.kt
index b6b0555433..19eac8dc32 100644
--- a/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/session/room/model/RoomSummary.kt
+++ b/matrix-sdk-android/src/main/java/im/vector/matrix/android/api/session/room/model/RoomSummary.kt
@@ -67,7 +67,7 @@ data class RoomSummary constructor(
get() = tags.any { it.name == RoomTag.ROOM_TAG_FAVOURITE }
val canStartCall: Boolean
- get() = isDirect && joinedMembersCount == 2
+ get() = joinedMembersCount == 2
companion object {
const val NOT_IN_BREADCRUMBS = -1
diff --git a/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt b/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt
index 1ad72ad424..a12d496e45 100644
--- a/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt
+++ b/vector/src/main/java/im/vector/riotx/features/roommemberprofile/RoomMemberProfileController.kt
@@ -236,10 +236,12 @@ class RoomMemberProfileController @Inject constructor(
if (canEditPowerLevel) {
buildProfileAction(
id = "edit_power_level",
- editable = false,
- title = powerLevelsStr,
+ editable = true,
+ title = stringProvider.getString(R.string.power_level_title),
+ subtitle = powerLevelsStr,
divider = canKick || canBan,
dividerColor = dividerColor,
+ editableRes = R.drawable.ic_edit,
action = { callback?.onEditPowerLevel(userPowerLevel) }
)
}
diff --git a/vector/src/main/res/drawable/ic_edit.xml b/vector/src/main/res/drawable/ic_edit.xml
index 1ad914fc99..33214d4246 100644
--- a/vector/src/main/res/drawable/ic_edit.xml
+++ b/vector/src/main/res/drawable/ic_edit.xml
@@ -1,22 +1,20 @@
+ android:width="24dp"
+ android:height="24dp"
+ android:viewportWidth="24"
+ android:viewportHeight="24">
diff --git a/vector/src/main/res/values/strings.xml b/vector/src/main/res/values/strings.xml
index 876206d519..42120a45d1 100644
--- a/vector/src/main/res/values/strings.xml
+++ b/vector/src/main/res/values/strings.xml
@@ -2499,6 +2499,7 @@ Not all features in Riot are implemented in Element yet. Main missing (and comin
Enter the URL of an identity server
Submit
Set role
+ Role
Open chat
Mute the microphone
Unmute the microphone
diff --git a/vector/src/main/res/xml/vector_settings_root.xml b/vector/src/main/res/xml/vector_settings_root.xml
index 79708a2735..882919cb99 100644
--- a/vector/src/main/res/xml/vector_settings_root.xml
+++ b/vector/src/main/res/xml/vector_settings_root.xml
@@ -24,6 +24,7 @@
app:fragment="im.vector.riotx.features.settings.VectorSettingsPreferencesFragment" />