Highlighted Event when opening a permalink from another room (Fixes #1033)
This commit is contained in:
parent
187edbd32a
commit
cbe093fe77
|
@ -21,6 +21,7 @@ Bugfix 🐛:
|
|||
- Fix crash reported by RageShake
|
||||
- Fix refreshing of sessions list when another session is logged out
|
||||
- Failed to build unique file (#1954)
|
||||
- Highlighted Event when opening a permalink from another room (#1033)
|
||||
|
||||
Translations 🗣:
|
||||
- Add PlayStore description resources in the Triple-T format, to let Weblate handle them
|
||||
|
|
|
@ -70,5 +70,10 @@ data class RoomDetailViewState(
|
|||
val isAllowedToManageWidgets: Boolean = false
|
||||
) : 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