Merge pull request #1831 from vector-im/feature/quick_call_update

Allow call in all 2 participants rooms
This commit is contained in:
Valere 2020-07-28 16:24:22 +02:00 committed by GitHub
commit 4631cd0e80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View file

@ -17,6 +17,8 @@ Bugfix 🐛:
- Fix 404 on EMS (#1761)
- Fix Infinite loop at startup when migrating account from Riot (#1699)
- Fix Element crashes in loop after initial sync (#1709)
- Fix "Voice & Video" grayed out in Settings (#1733)
- Fix Allow VOIP call in all rooms with 2 participants (even if not DM)
Translations 🗣:
-

View file

@ -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

View file

@ -24,6 +24,7 @@
app:fragment="im.vector.riotx.features.settings.VectorSettingsPreferencesFragment" />
<im.vector.riotx.core.preference.VectorPreference
app:isPreferenceVisible="@bool/false_not_implemented"
android:enabled="@bool/false_not_implemented"
android:icon="@drawable/ic_settings_root_call"
android:title="@string/preference_voice_and_video"