Room Permission: default to true for sending event

This commit is contained in:
ganfra 2020-06-05 20:09:13 +02:00
parent 07c7ed0a4e
commit afd1002fdb
2 changed files with 2 additions and 1 deletions

View file

@ -66,7 +66,7 @@ data class RoomDetailViewState(
val highlightedEventId: String? = null, val highlightedEventId: String? = null,
val unreadState: UnreadState = UnreadState.Unknown, val unreadState: UnreadState = UnreadState.Unknown,
val canShowJumpToReadMarker: Boolean = true, val canShowJumpToReadMarker: Boolean = true,
val canSendMessage: Boolean = false val canSendMessage: Boolean = true
) : MvRxState { ) : MvRxState {
constructor(args: RoomDetailArgs) : this(roomId = args.roomId, eventId = args.eventId) constructor(args: RoomDetailArgs) : this(roomId = args.roomId, eventId = args.eventId)

View file

@ -138,6 +138,7 @@
android:id="@+id/notificationAreaView" android:id="@+id/notificationAreaView"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" /> app:layout_constraintStart_toStartOf="parent" />