Skip to content

Commit d49f6bf

Browse files
committed
Equivalent code.
1 parent d75ca51 commit d49f6bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vector/src/main/java/im/vector/app/features/home/room/detail/timeline/action/MessageActionsEpoxyController.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ class MessageActionsEpoxyController @Inject constructor(
238238
val locationUrl = locationContent.toLocationData()
239239
?.let { urlMapProvider.buildStaticMapUrl(it, INITIAL_MAP_ZOOM_IN_TIMELINE, 1200, 800) }
240240
?: return null
241-
val locationOwnerId = if (locationContent.isSelfLocation()) state.informationData.matrixItem.id else null
241+
val locationOwnerId = if (locationContent.isSelfLocation()) state.informationData.senderId else null
242242

243243
return LocationUiData(
244244
locationUrl = locationUrl,

0 commit comments

Comments
 (0)