small fix for sending logic
This commit is contained in:
1 parent
0e5871e458
commit
48474eeedd
1 file changed
+1
-2
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user