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 a07286ace9
commit ed91930a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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