Enable swipe to reply on voice messages (#1668)

With the new waveform view it does not conflict anymore.
This commit is contained in:
Marco Romano
2023-10-27 17:10:56 +02:00
committed by GitHub
parent d05dd11485
commit ad01421b22

View File

@@ -40,7 +40,6 @@ fun TimelineItemEventContent.canBeCopied(): Boolean =
*/
fun TimelineItemEventContent.canBeRepliedTo(): Boolean =
when (this) {
is TimelineItemVoiceContent, // TODO Voice messages: swipe to reply disabled for now to avoid conflict with audio scrubbing.
is TimelineItemRedactedContent,
is TimelineItemStateContent,
is TimelineItemPollContent -> false