mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-24 23:09:02 +03:00
Highlighted Event when opening a permalink from another room (Fixes #1033)
This commit is contained in:
parent
187edbd32a
commit
cbe093fe77
2 changed files with 7 additions and 1 deletions
|
@ -21,6 +21,7 @@ Bugfix 🐛:
|
||||||
- Fix crash reported by RageShake
|
- Fix crash reported by RageShake
|
||||||
- Fix refreshing of sessions list when another session is logged out
|
- Fix refreshing of sessions list when another session is logged out
|
||||||
- Failed to build unique file (#1954)
|
- Failed to build unique file (#1954)
|
||||||
|
- Highlighted Event when opening a permalink from another room (#1033)
|
||||||
|
|
||||||
Translations 🗣:
|
Translations 🗣:
|
||||||
- Add PlayStore description resources in the Triple-T format, to let Weblate handle them
|
- 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
|
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…
Add table
Reference in a new issue