This commit is contained in:
Valere 2020-08-13 17:49:06 +02:00
parent c911d9c7ff
commit 8c150aa3e8
6 changed files with 2 additions and 8 deletions

View File

@ -54,7 +54,6 @@ class RealmSessionStoreMigration @Inject constructor() : RealmMigration {
}
}
private fun migrateTo3(realm: DynamicRealm) {
Timber.d("Step 1 -> 2")
realm.schema.get("HomeServerCapabilitiesEntity")

View File

@ -86,7 +86,6 @@ class ActiveConferenceView @JvmOverloads constructor(
findViewById<TextView>(R.id.deleteWidgetButton).setOnClickListener {
jitsiWidget?.let { callback?.onDelete(it) }
}
}
fun render(state: RoomDetailViewState) {

View File

@ -35,4 +35,3 @@ class JitsiWidgetProperties(private val uriString: String, val stringProvider: S
?: mapOf()
}
}

View File

@ -226,7 +226,7 @@ class RoomDetailFragment @Inject constructor(
AttachmentTypeSelectorView.Callback,
AttachmentsHelper.Callback,
// RoomWidgetsBannerView.Callback,
ActiveCallView.Callback{
ActiveCallView.Callback {
companion object {
@ -698,7 +698,6 @@ class RoomDetailFragment @Inject constructor(
// A conference is already in progress!
showDialogWithMessage(getString(R.string.conference_call_in_progress))
} else {
AlertDialog.Builder(requireContext())
.setTitle(if (isVideoCall) R.string.video_meeting else R.string.audio_meeting)
.setMessage(R.string.audio_video_meeting_description)

View File

@ -44,7 +44,6 @@ sealed class RoomDetailViewEvents : VectorViewEvents {
object ShowWaitingView: RoomDetailViewEvents()
object HideWaitingView: RoomDetailViewEvents()
data class FileTooBigError(
val filename: String,
val fileSizeInBytes: Long,

View File

@ -352,7 +352,7 @@ class RoomDetailViewModel @AssistedInject constructor(
val roomId: String = room.roomId
val confId = roomId.substring(1, roomId.indexOf(":") - 1) + widgetSessionId.toLowerCase(VectorLocale.applicationLocale)
//DO NOT COMMIT
// DO NOT COMMIT
val jitsiDomain = session.getHomeServerCapabilities().preferredJitsiDomain ?: stringProvider.getString(R.string.preferred_jitsi_domain)
// We use the default element wrapper for this widget
@ -384,7 +384,6 @@ class RoomDetailViewModel @AssistedInject constructor(
} finally {
_viewEvents.post(RoomDetailViewEvents.HideWaitingView)
}
}
}