small fix for sending logic

This commit is contained in:
Evie Gauthier committed 2026-03-03 13:41:38 -05:00
1 parent 0e5871e458
commit 48474eeedd
1 file changed
+1 -2
+1 -2
View File
@@ -442,8 +442,7 @@ function MessageInternal(
const isPendingSend =
sendStatus === EventStatus.ENCRYPTING ||
sendStatus === EventStatus.QUEUED ||
sendStatus === EventStatus.SENDING ||
sendStatus === EventStatus.SENT;
sendStatus === EventStatus.SENDING;
const isFailedSend = sendStatus === EventStatus.NOT_SENT;
const canResend = isFailedSend && senderId === mx.getUserId() && !!onResend;