Merge pull request #1970 from vector-im/feature/highlight
Highlighted Event when opening a permalink from another room
This commit is contained in:
commit
29e4a64475
|
@ -23,6 +23,7 @@ Bugfix 🐛:
|
||||||
- Fix refreshing of sessions list when another session is logged out
|
- Fix refreshing of sessions list when another session is logged out
|
||||||
- Fix IllegalArgumentException: Receiver not registered: NetworkInfoReceiver (#1960)
|
- Fix IllegalArgumentException: Receiver not registered: NetworkInfoReceiver (#1960)
|
||||||
- Failed to build unique file (#1954)
|
- Failed to build unique file (#1954)
|
||||||
|
- Highlighted Event when opening a permalink from another room (#1033)
|
||||||
- A Kick appears has "someone has made no change" (#1959)
|
- A Kick appears has "someone has made no change" (#1959)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
|
|
|
@ -70,5 +70,10 @@ data class RoomDetailViewState(
|
||||||
val isAllowedToManageWidgets: Boolean = false
|
val isAllowedToManageWidgets: Boolean = false
|
||||||
) : MvRxState {
|
) : MvRxState {
|
||||||
|
|
||||||
constructor(args: RoomDetailArgs) : this(roomId = args.roomId, eventId = args.eventId)
|
constructor(args: RoomDetailArgs) : this(
|
||||||
|
roomId = args.roomId,
|
||||||
|
eventId = args.eventId,
|
||||||
|
// Also highlight the target event, if any
|
||||||
|
highlightedEventId = args.eventId
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue