Permalink: fix nav to same room

This commit is contained in:
ganfra 2019-12-19 13:42:15 +01:00
parent a4ea9a09ad
commit 7bb8cb0682

View file

@ -57,7 +57,7 @@ class PermalinkHandler @Inject constructor(private val session: Session,
.observeOn(AndroidSchedulers.mainThread())
.map {
val roomId = it.getOrNull()
if (navigateToRoomInterceptor?.navToRoom(roomId) != true) {
if (navigateToRoomInterceptor?.navToRoom(roomId, permalinkData.eventId) != true) {
openRoom(context, roomId, permalinkData.eventId, buildTask)
}
true