mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-23 22:39:02 +03:00
Equivalent code.
This commit is contained in:
parent
d75ca516fc
commit
d49f6bfbb6
1 changed files with 1 additions and 1 deletions
|
@ -238,7 +238,7 @@ class MessageActionsEpoxyController @Inject constructor(
|
||||||
val locationUrl = locationContent.toLocationData()
|
val locationUrl = locationContent.toLocationData()
|
||||||
?.let { urlMapProvider.buildStaticMapUrl(it, INITIAL_MAP_ZOOM_IN_TIMELINE, 1200, 800) }
|
?.let { urlMapProvider.buildStaticMapUrl(it, INITIAL_MAP_ZOOM_IN_TIMELINE, 1200, 800) }
|
||||||
?: return null
|
?: return null
|
||||||
val locationOwnerId = if (locationContent.isSelfLocation()) state.informationData.matrixItem.id else null
|
val locationOwnerId = if (locationContent.isSelfLocation()) state.informationData.senderId else null
|
||||||
|
|
||||||
return LocationUiData(
|
return LocationUiData(
|
||||||
locationUrl = locationUrl,
|
locationUrl = locationUrl,
|
||||||
|
|
Loading…
Add table
Reference in a new issue