getMessagePropStatus: Move back to isOutgoing for in/out check

This commit is contained in:
Scott Nonnenberg 2022-06-01 11:40:36 -07:00 committed by GitHub
parent ab9a50357b
commit 0ff2272d13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1371,7 +1371,7 @@ export function getMessagePropStatus(
>, >,
ourConversationId: string | undefined ourConversationId: string | undefined
): LastMessageStatus | undefined { ): LastMessageStatus | undefined {
if (isIncoming(message)) { if (!isOutgoing(message)) {
return hasErrors(message) ? 'error' : undefined; return hasErrors(message) ? 'error' : undefined;
} }