Merge pull request #4069 from vector-im/feature/fga/fix_timeline_event_bottom_sheet
Fix MessageActionsBottomSheet not being shown on local echos
This commit is contained in:
commit
5a1781e1ac
1
changelog.d/4068.bugfix
Normal file
1
changelog.d/4068.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
MessageActionsBottomSheet not being shown on local echos
|
@ -1722,7 +1722,7 @@ class RoomDetailFragment @Inject constructor(
|
|||||||
|
|
||||||
override fun onEventLongClicked(informationData: MessageInformationData, messageContent: Any?, view: View): Boolean {
|
override fun onEventLongClicked(informationData: MessageInformationData, messageContent: Any?, view: View): Boolean {
|
||||||
view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
view.performHapticFeedback(HapticFeedbackConstants.LONG_PRESS)
|
||||||
val roomId = roomDetailViewModel.timeline.getTimelineEventWithId(informationData.eventId)?.roomId ?: return false
|
val roomId = roomDetailArgs.roomId
|
||||||
this.view?.hideKeyboard()
|
this.view?.hideKeyboard()
|
||||||
|
|
||||||
MessageActionsBottomSheet
|
MessageActionsBottomSheet
|
||||||
|
Loading…
x
Reference in New Issue
Block a user